Method: I18n::Inflector::InflectionOptions#raises
- Defined in:
- lib/i18n-inflector/options.rb
#raises ⇒ Boolean
Note:
Local option :inflector_raises
passed to the Backend::Inflector#translate overrides this setting.
This is a switch that enables extended error reporting. When it’s enabled then errors are raised in case of unknown or empty tokens present in a pattern or in options. This switch is by default set to false
.
93 94 95 |
# File 'lib/i18n-inflector/options.rb', line 93 def raises @raises end |