Class: Method
Instance Method Summary collapse
-
#mp_duplicable? ⇒ Boolean
Methods are not duplicable:.
Instance Method Details
#mp_duplicable? ⇒ Boolean
Methods are not duplicable:
method(:puts).mp_duplicable? # => false
method(:puts).dup # => TypeError: allocator undefined for Method
97 98 99 |
# File 'lib/ruby/commons/core_ext/object/duplicable.rb', line 97 def mp_duplicable? false end |