Method: I18n::Inflector::InflectionOptions#unknown_defaults
- Defined in:
- lib/i18n-inflector/options.rb
#unknown_defaults ⇒ Boolean
Note:
Local option :inflector_unknown_defaults
passed to the Backend::Inflector#translate overrides this setting.
When this switch is set to true
then inflector falls back to the default token for a kind if an inflection option passed to the Backend::Inflector#translate is unknown or nil
. Note that the value of the default token will be interpolated only when this token is present in a pattern. This switch is by default set to true
.
236 237 238 |
# File 'lib/i18n-inflector/options.rb', line 236 def unknown_defaults @unknown_defaults end |