class NumbersAndWords::Strategies::FiguresConverter::Decorators::EnGb::Fractional
Constants
- SHIFT_ZERO_LENGTH
Public Instance Methods
Source
# File lib/numbers_and_words/strategies/figures_converter/decorators/en-GB/fractional.rb, line 11 def run fraction_to_digits end
Private Instance Methods
Source
# File lib/numbers_and_words/strategies/figures_converter/decorators/en-GB/fractional.rb, line 17 def fraction_to_digits full_fraction.to_a.to_words.join ' ' end
Source
# File lib/numbers_and_words/strategies/figures_converter/decorators/en-GB/fractional.rb, line 21 def zero_length super - SHIFT_ZERO_LENGTH end
Calls superclass method