Class: Method
Relationships & Source Files | |
Inherits: | Object |
Defined in: | activesupport/lib/active_support/core_ext/object/duplicable.rb |
Instance Attribute Summary
-
#duplicable? ⇒ Boolean
readonly
Methods are not duplicable:
Instance Attribute Details
#duplicable? ⇒ Boolean
(readonly)
Methods are not duplicable:
method(:puts).duplicable? # => false
method(:puts).dup # => TypeError: allocator undefined for Method
# File 'activesupport/lib/active_support/core_ext/object/duplicable.rb', line 126
def duplicable? false end