Class: UnboundMethod
Instance Method Summary collapse
-
#duplicable? ⇒ false
private
Unbound methods are not duplicable:.
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.
Unbound methods are not duplicable:
method(:puts).unbind.duplicable? # => false
method(:puts).unbind.dup # => TypeError: allocator undefined for UnboundMethod
56 |
# File 'extend/object/duplicable.rb', line 56 def duplicable? = false |