Module: NumbersAndWords::Strategies::FiguresConverter::Languages

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

Defined Under Namespace

Modules: 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

.factory(strategy) ⇒ Object


37
38
39
# File 'lib/numbers_and_words/strategies/figures_converter/languages.rb', line 37

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