class NumbersAndWords::Translations::Base

Constants

I18N_NAMESPACE

Public Instance Methods

t(attribute, options = {}) click to toggle source
# File lib/numbers_and_words/translations/base.rb, line 8
def t(attribute, options = {})
  ::I18n.t attribute, **options.merge(scope: I18N_NAMESPACE)
end