instance method
duplicable?
Ruby on Rails 8.1.2
Since v6.0.6Signature
duplicable?()
Unbound methods are not duplicable:
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 54
def duplicable?
false
end
Defined in activesupport/lib/active_support/core_ext/object/duplicable.rb line 54
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in UnboundMethod