method

to_formatted_s

rails latest stable - Class: BigDecimal

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

to_formatted_s(*args)
public

No documentation available.

# File activesupport/lib/active_support/core_ext/big_decimal/conversions.rb, line 6
  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