Module: NumbersAndWords::TranslationsHelpers::Base

Included in:
En, Ru
Defined in:
lib/numbers_and_words/translations_helpers/base.rb

Constant Summary collapse

I18N_NAMESPACE =
:numbers

Instance Method Summary collapse

Instance Method Details

#t(attribute, options = {}) ⇒ Object



6
7
8
# File 'lib/numbers_and_words/translations_helpers/base.rb', line 6

def t attribute, options = {}
  I18n.t attribute, options.merge(:scope => I18N_NAMESPACE)
end