instance method
duplicable?
Ruby on Rails edge
Since v6.0.6.1Signature
duplicable?()
Unbound methods are not duplicable:
“‘ruby method(:puts).unbind.duplicable? # => false method(:puts).unbind.dup # => TypeError: allocator undefined for UnboundMethod “`
Source
# File activesupport/lib/active_support/core_ext/object/duplicable.rb, line 62
def duplicable?
false
end
Defined in activesupport/lib/active_support/core_ext/object/duplicable.rb line 62
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in UnboundMethod