class UnboundMethod
Public Instance Methods
duplicable?()
click to toggle source
Unbound methods are not duplicable:
method(:puts).unbind.duplicable? # => false method(:puts).unbind.dup # => TypeError: allocator undefined for UnboundMethod
# File lib/sigterm_extensions/core_ext/object/duplicable.rb, line 44 def duplicable? false end