method

duplicable?

Importance_1
v7.1.3.4 - Show latest stable - 0 notes - Class: UnboundMethod
duplicable?() public

Unbound methods are not duplicable:

method(:puts).unbind.duplicable? # => false
method(:puts).unbind.dup         # => TypeError: allocator undefined for UnboundMethod
Show source
Register or log in to add new notes.