Module: Granite::Translations
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
- #translate(*args) ⇒ Object (also: #t)
Instance Method Details
#translate(*args) ⇒ Object Also known as: t
5 6 7 |
# File 'lib/granite/translations.rb', line 5 def translate(*args) I18n.translate(*self.class.scope_translation_args(args)) end |