Module: Translator::I18nExtensions

Included in:
I18n
Defined in:
lib/translator.rb

Instance Method Summary collapse

Instance Method Details

#strict_i18n_exception_handler(exception, locale, key, options) ⇒ Object

Add an strict exception handler for testing that will raise all exceptions



241
242
243
244
# File 'lib/translator.rb', line 241

def strict_i18n_exception_handler(exception, locale, key, options)
  # Raise *all* exceptions
  raise exception
end