Class: NumbersAndWords::Translations::Base
- Inherits:
-
Object
- Object
- NumbersAndWords::Translations::Base
- Defined in:
- lib/numbers_and_words/translations/base.rb
Direct Known Subclasses
Cs, Da, De, En, EnGb, Es, Et, Fr, Hu, Hy, It, Ka, Kz, Lt, Lv, Nl, Pt, PtBr, Ru, Se, Tr, Ua, Vi
Constant Summary collapse
- I18N_NAMESPACE =
:numbers
Instance Method Summary collapse
Instance Method Details
#t(attribute, options = {}) ⇒ Object
8 9 10 |
# File 'lib/numbers_and_words/translations/base.rb', line 8 def t(attribute, = {}) ::I18n.t attribute, **.merge(scope: I18N_NAMESPACE) end |