method
i18n_format_options
v4.2.7 -
Show latest stable
- Class:
ActiveSupport::NumberHelper::NumberConverter
i18n_format_options()private
No documentation available.
# File activesupport/lib/active_support/number_helper/number_converter.rb, line 152
def i18n_format_options #:nodoc:
locale = opts[:locale]
options = I18n.translate(:'number.format', locale: locale, default: {}).dup
if namespace
options.merge!(I18n.translate(:"number.#{namespace}.format", locale: locale, default: {}))
end
options
end