Class: NumbersAndWords::Strategies::FiguresConverter::Decorators::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/numbers_and_words/strategies/figures_converter/decorators/base.rb

Direct Known Subclasses

En::Base, Hu::Base, Ru::Base, Ua::Base

Instance Method Summary collapse

Constructor Details

#initialize(strategy, options) ⇒ Base

Returns a new instance of Base.



6
7
8
9
# File 'lib/numbers_and_words/strategies/figures_converter/decorators/base.rb', line 6

def initialize strategy, options
  @strategy = strategy
  @options = options
end

Instance Method Details

#runObject



11
12
13
# File 'lib/numbers_and_words/strategies/figures_converter/decorators/base.rb', line 11

def run
  yield
end