Methods
Instance Public methods
duplicable?()
Unbound methods are not duplicable:
method(:puts).unbind.duplicable? # => false
method(:puts).unbind.dup # => TypeError: allocator undefined for UnboundMethod
📝 Source code
# File activesupport/lib/active_support/core_ext/object/duplicable.rb, line 54
def duplicable?
false
end
🔎 See on GitHub