Class: BigDecimal
Instance Method Summary collapse
-
#duplicable? ⇒ Boolean
BigDecimals are duplicable:.
Instance Method Details
#duplicable? ⇒ Boolean
BigDecimals are duplicable:
BigDecimal.new(“1.2”).duplicable? # => true BigDecimal.new(“1.2”).dup # => #<BigDecimal:…,‘0.12E1’,18(18)>
87 88 89 |
# File 'lib/core_ext/object/duplicable.rb', line 87 def duplicable? true end |