instance method
duplicable?
Ruby on Rails 7.0.10
Since v4.1.16Signature
duplicable?()
Methods are not duplicable:
method(:puts).duplicable? # => false method(:puts).dup # => TypeError: allocator undefined for Method
Source
# File activesupport/lib/active_support/core_ext/object/duplicable.rb, line 44
def duplicable?
false
end
Defined in activesupport/lib/active_support/core_ext/object/duplicable.rb line 44
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Method