Class: Glossync::MissingTranslationHandler::Default

Inherits:
Object
  • Object
show all
Defined in:
lib/glossync/missing_translation_handler.rb

Overview

The default handler, simply returns the error message

Instance Method Summary collapse

Instance Method Details

#handle(error, _who, _field, _locale) ⇒ String

handles an I18n MissingTranslation error



14
15
16
# File 'lib/glossync/missing_translation_handler.rb', line 14

def handle(error, _who, _field, _locale)
  error.message
end