Methods
#
D
E
T
Constants
YAML_MAPPING = { 'Infinity' => '.Inf', '-Infinity' => '-.Inf', 'NaN' => '.NaN' }
 
DEFAULT_STRING_FORMAT = 'F'
 
Instance Public methods
_original_to_s(*args)
duplicable?()
# File activesupport/lib/active_support/core_ext/object/duplicable.rb, line 84
def duplicable?
  true
end
encode_with(coder)
# File activesupport/lib/active_support/core_ext/big_decimal/conversions.rb, line 8
def encode_with(coder)
  string = to_s
  coder.represent_scalar(nil, YAML_MAPPING[string] || string)
end
to_d()
# File activesupport/lib/active_support/core_ext/big_decimal/conversions.rb, line 15
def to_d
  self
end
to_formatted_s(*args)
Also aliased as: to_s
# File activesupport/lib/active_support/core_ext/big_decimal/conversions.rb, line 21
def to_formatted_s(*args)
  if args[0].is_a?(Symbol)
    super
  else
    format = args[0] || DEFAULT_STRING_FORMAT
    _original_to_s(format)
  end
end
to_s(*args)
Also aliased as: _original_to_s