instance method
to_formatted_s
Ruby on Rails 4.2.9
Since v3.0.20 Last seen in v4.2.9Signature
to_formatted_s(*args)
No documentation comment.
Parameters
-
argsrest
Source
# 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
Defined in activesupport/lib/active_support/core_ext/big_decimal/conversions.rb line 6
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in BigDecimal