Module: NumbersAndWords::Strategies::FiguresConverter::Decorators

Defined in:
lib/numbers_and_words/strategies/figures_converter/decorators.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/base.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/cs/base.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/en/base.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/es/base.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/fr/base.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/hu/base.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/ru/base.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/ua/base.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/vi/base.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/en-GB/base.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/pt-BR/base.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/cs/integral.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/en/integral.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/es/integral.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/fr/integral.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/hu/integral.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/ru/integral.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/ua/integral.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/vi/integral.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/cs/fractional.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/en/fractional.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/es/fractional.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/fr/fractional.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/hu/fractional.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/ru/fractional.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/ua/fractional.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/vi/fractional.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/en-GB/integral.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/pt-BR/integral.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/en-GB/fractional.rb,
lib/numbers_and_words/strategies/figures_converter/decorators/pt-BR/fractional.rb

Defined Under Namespace

Modules: Cs, En, EnGb, Es, Fr, Hu, PtBr, Ru, Ua, Vi Classes: Base

Constant Summary collapse

AVAILABLE =
%i[integral fractional].freeze

Class Method Summary collapse

Class Method Details

.factory(strategy, options) ⇒ Object


22
23
24
# File 'lib/numbers_and_words/strategies/figures_converter/decorators.rb', line 22

def factory(strategy, options)
  enabled_decorator(options).new strategy, options
end