Module: NumbersAndWords::Translations

Defined in:
lib/numbers_and_words/translations.rb,
lib/numbers_and_words/translations/cs.rb,
lib/numbers_and_words/translations/de.rb,
lib/numbers_and_words/translations/en.rb,
lib/numbers_and_words/translations/es.rb,
lib/numbers_and_words/translations/et.rb,
lib/numbers_and_words/translations/fr.rb,
lib/numbers_and_words/translations/hu.rb,
lib/numbers_and_words/translations/hy.rb,
lib/numbers_and_words/translations/it.rb,
lib/numbers_and_words/translations/ka.rb,
lib/numbers_and_words/translations/kz.rb,
lib/numbers_and_words/translations/lt.rb,
lib/numbers_and_words/translations/lv.rb,
lib/numbers_and_words/translations/nl.rb,
lib/numbers_and_words/translations/pt.rb,
lib/numbers_and_words/translations/ru.rb,
lib/numbers_and_words/translations/se.rb,
lib/numbers_and_words/translations/tr.rb,
lib/numbers_and_words/translations/ua.rb,
lib/numbers_and_words/translations/vi.rb,
lib/numbers_and_words/translations/base.rb,
lib/numbers_and_words/translations/en-GB.rb,
lib/numbers_and_words/translations/pt-BR.rb,
lib/numbers_and_words/translations/families/base.rb,
lib/numbers_and_words/translations/families/latin.rb,
lib/numbers_and_words/translations/families/cyrillic.rb,
lib/numbers_and_words/translations/extensions/fraction_significance.rb

Defined Under Namespace

Modules: Extensions, Families Classes: Base, Cs, De, En, EnGb, Es, Et, Fr, Hu, Hy, It, Ka, Kz, Lt, Lv, Nl, Pt, PtBr, Ru, Se, Tr, Ua, Vi

Class Method Summary collapse

Class Method Details

.factoryObject


34
35
36
# File 'lib/numbers_and_words/translations.rb', line 34

def factory
  Object.const_get("#{name}::#{I18n.language_class_name}").new
end