Class: Numeric
Instance Method Summary collapse
-
#duplicable? ⇒ Boolean
Numbers are not duplicable:.
Instance Method Details
#duplicable? ⇒ Boolean
Numbers are not duplicable:
3.duplicable? # => false
3.dup # => TypeError: can't dup Integer
76 77 78 |
# File 'lib/core_ext/object/duplicable.rb', line 76 def duplicable? false end |