Module: ActiveSupport::BigDecimalWithDefaultFormat

Included in:
BigDecimal
Defined in:
lib/active_support/core_ext/big_decimal/conversions.rb

Overview

:nodoc:

Constant Summary collapse

DEFAULT_STRING_FORMAT =
'F'

Instance Method Summary collapse

Instance Method Details

#to_s(format = nil) ⇒ Object



8
9
10
# File 'lib/active_support/core_ext/big_decimal/conversions.rb', line 8

def to_s(format = nil)
  super(format || DEFAULT_STRING_FORMAT)
end