Class: NumbersAndWords::Strategies::FiguresConverter::Options::Es::Apocopated

Inherits:
Object
  • Object
show all
Defined in:
lib/numbers_and_words/strategies/figures_converter/options/es/apocopated.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(proxy, *_args) ⇒ Apocopated

Returns a new instance of Apocopated.



11
12
13
14
# File 'lib/numbers_and_words/strategies/figures_converter/options/es/apocopated.rb', line 11

def initialize(proxy, *_args)
  @strategy = proxy.strategy
  @options = proxy.options
end

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



9
10
11
# File 'lib/numbers_and_words/strategies/figures_converter/options/es/apocopated.rb', line 9

def options
  @options
end

#strategyObject

Returns the value of attribute strategy.



9
10
11
# File 'lib/numbers_and_words/strategies/figures_converter/options/es/apocopated.rb', line 9

def strategy
  @strategy
end

Instance Method Details

#resultObject



16
17
18
# File 'lib/numbers_and_words/strategies/figures_converter/options/es/apocopated.rb', line 16

def result
  active?
end