class BigDecimal

Parent:
Object

Public Instance Methods

duplicable?() Show source
# File activesupport/lib/active_support/core_ext/object/duplicable.rb, line 111
def duplicable?
  true
end

BigDecimals are duplicable:

BigDecimal("1.2").duplicable? # => true
BigDecimal("1.2").dup         # => #<BigDecimal:...,'0.12E1',18(18)>

© 2004–2018 David Heinemeier Hansson
Licensed under the MIT License.