class NumbersAndWords::Strategies::FiguresConverter::Options::Base::Gender
Attributes
Public Class Methods
Source
# File lib/numbers_and_words/strategies/figures_converter/options/base/gender.rb, line 11 def initialize(proxy, *_args) @strategy = proxy.strategy @options = proxy.options end
Public Instance Methods
Source
# File lib/numbers_and_words/strategies/figures_converter/options/base/gender.rb, line 16 def result active? ? @options[:gender].to_sym : :male end
Private Instance Methods
Source
# File lib/numbers_and_words/strategies/figures_converter/options/base/gender.rb, line 22 def active? @options[:gender] end