Class: NumbersAndWords::Strategies::FiguresConverter::Options::Cs::RemoveZero
- Inherits:
-
Object
- Object
- NumbersAndWords::Strategies::FiguresConverter::Options::Cs::RemoveZero
- Defined in:
- lib/numbers_and_words/strategies/figures_converter/options/cs/remove_zero.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#strategy ⇒ Object
Returns the value of attribute strategy.
Instance Method Summary collapse
-
#initialize(proxy, *_args) ⇒ RemoveZero
constructor
A new instance of RemoveZero.
- #result ⇒ Object
Constructor Details
#initialize(proxy, *_args) ⇒ RemoveZero
Returns a new instance of RemoveZero.
9 10 11 12 |
# File 'lib/numbers_and_words/strategies/figures_converter/options/cs/remove_zero.rb', line 9 def initialize(proxy, *_args) @strategy = proxy.strategy @options = proxy. end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
7 8 9 |
# File 'lib/numbers_and_words/strategies/figures_converter/options/cs/remove_zero.rb', line 7 def @options end |
#strategy ⇒ Object
Returns the value of attribute strategy.
7 8 9 |
# File 'lib/numbers_and_words/strategies/figures_converter/options/cs/remove_zero.rb', line 7 def strategy @strategy end |
Instance Method Details
#result ⇒ Object
14 15 16 |
# File 'lib/numbers_and_words/strategies/figures_converter/options/cs/remove_zero.rb', line 14 def result active? end |