Class: Method

Inherits:
Object show all
Defined in:
extend/object/duplicable.rb

Instance Method Summary collapse

Instance Method Details

#duplicable?false

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Methods are not duplicable:

method(:puts).duplicable? # => false
method(:puts).dup         # => TypeError: allocator undefined for Method

Returns:

  • (false)


45
# File 'extend/object/duplicable.rb', line 45

def duplicable? = false