class I18n::ExceptionHandler
Public Instance Methods
call(exception, _locale, _key, _options)
click to toggle source
# File lib/i18n/exceptions.rb, line 7 def call(exception, _locale, _key, _options) if exception.is_a?(MissingTranslation) exception.message else raise exception end end