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