edge badge
Methods
D
Instance Public methods
duplicable?()

Rationals are not duplicable:

Rational(1).duplicable? # => false
Rational(1).dup         # => TypeError: can't copy Rational
# File activesupport/lib/active_support/core_ext/object/duplicable.rb, line 151
def duplicable?
  false
end