instance method
duplicable?
Ruby on Rails 5.2.8.1
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 123
def duplicable?
false
end
Defined in activesupport/lib/active_support/core_ext/object/duplicable.rb line 123
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Method