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

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

Instance Method Summary collapse

Constructor Details

#initialize(strategy, options) ⇒ Base

Returns a new instance of Base.


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

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

Instance Method Details

#runObject


13
14
15
# File 'lib/numbers_and_words/strategies/figures_converter/decorators/base.rb', line 13

def run
  yield
end