Module: AwesomeTranslations::TranslateFunctionality::Methods
- Defined in:
- lib/awesome_translations/translate_functionality.rb
Instance Method Summary collapse
Instance Method Details
#t(key, *args, **opts, &blk) ⇒ Object
10 11 12 |
# File 'lib/awesome_translations/translate_functionality.rb', line 10 def t(key, *args, **opts, &blk) AwesomeTranslations::GlobalTranslator.translate(key, caller_number: 1, translation_args: args, translation_opts: opts, &blk) end |