Module: ActiveSupport::BigDecimalWithDefaultFormat

Defined in:
activesupport/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 'activesupport/lib/active_support/core_ext/big_decimal/conversions.rb', line 8

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