Class: NumbersAndWords::Strategies::FiguresConverter::Decorators::Base
- Inherits:
-
Object
- Object
- NumbersAndWords::Strategies::FiguresConverter::Decorators::Base
- Defined in:
- lib/numbers_and_words/strategies/figures_converter/decorators/base.rb
Direct Known Subclasses
Cs::Base, En::Base, Es::Base, Fr::Base, Hu::Base, PtBr::Base, Ru::Base, Ua::Base, Vi::Base
Instance Method Summary collapse
-
#initialize(strategy, options) ⇒ Base
constructor
A new instance of Base.
- #run ⇒ Object
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, ) @strategy = strategy @options = end |
Instance Method Details
#run ⇒ Object
13 14 15 |
# File 'lib/numbers_and_words/strategies/figures_converter/decorators/base.rb', line 13 def run yield end |