123456789_123456789_123456789_123456789_123456789_

Class: BigDecimal

Instance Attribute Summary

Instance Attribute Details

#duplicable?Boolean (readonly)

BigDecimals are duplicable:

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

  
# File 'activesupport/lib/active_support/core_ext/object/duplicable.rb', line 113

def duplicable?
  true
end