method

i18n_format_options

i18n_format_options(locale, namespace = nil)
public

No documentation available.

# File activesupport/lib/active_support/number_helper.rb, line 614
    def i18n_format_options(locale, namespace = nil) #:nodoc:
      options = I18n.translate(:'number.format', locale: locale, default: {}).dup
      if namespace
        options.merge!(I18n.translate(:"number.#{namespace}.format", locale: locale, default: {}))
      end
      options
    end