method
i18n_opts
v8.1.1 -
Show latest stable
- Class:
ActiveSupport::NumberHelper::NumberToCurrencyConverter
i18n_opts()private
No documentation available.
# File activesupport/lib/active_support/number_helper/number_to_currency_converter.rb, line 38
def i18n_opts
# Set International negative format if it does not exist
i18n = i18n_format_options
i18n[:negative_format] ||= "-#{i18n[:format]}" if i18n[:format]
i18n
end