method

duplicable?

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 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.