Class: Method
Instance Method Summary collapse
-
#duplicable? ⇒ Boolean
Methods are not duplicable:.
Instance Method Details
#duplicable? ⇒ Boolean
Methods are not duplicable:
method(:puts).duplicable? # => false
method(:puts).dup # => TypeError: allocator undefined for Method
39 40 41 |
# File 'lib/active_support_ext/object/duplicable.rb', line 39 def duplicable? false end |