class Numeric

Public Instance Methods

duplicable?() click to toggle source

Numbers are not duplicable:

3.duplicable? # => false
3.dup         # => TypeError: can't dup Fixnum
# File lib/chewy/backports/duplicable.rb, line 74
def duplicable?
  false
end