class NumbersAndWords::Strategies::FiguresConverter::Options::Nl::TensOfHundreds

Attributes

options[RW]
strategy[RW]

Public Class Methods

new(proxy, *_args) click to toggle source
# File lib/numbers_and_words/strategies/figures_converter/options/nl/tens_of_hundreds.rb, line 11
def initialize(proxy, *_args)
  @strategy = proxy.strategy
  @options = proxy.options
end

Public Instance Methods

result() click to toggle source
# File lib/numbers_and_words/strategies/figures_converter/options/nl/tens_of_hundreds.rb, line 16
def result
  active?
end

Private Instance Methods

active?() click to toggle source
# File lib/numbers_and_words/strategies/figures_converter/options/nl/tens_of_hundreds.rb, line 22
def active?
  @options[:tens_of_hundreds]
end