method

duplicable?

Importance_1
v6.1.3.1 - 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.