Class: NumbersAndWords::Strategies::FiguresConverter::Options::En::Ordinal
- Inherits:
-
Base::Ordinal
- Object
- Base::Ordinal
- NumbersAndWords::Strategies::FiguresConverter::Options::En::Ordinal
- Defined in:
- lib/numbers_and_words/strategies/figures_converter/options/en/ordinal.rb
Direct Known Subclasses
NumbersAndWords::Strategies::FiguresConverter::Options::EnGb::Ordinal, Hu::Ordinal
Constant Summary collapse
- ZERO_TYPE =
:zero
- HUNDRED_TYPE =
:hundreds
- MEGS_TYPE =
:megs
Instance Method Summary collapse
Instance Method Details
#result(type) ⇒ Object
13 14 15 16 |
# File 'lib/numbers_and_words/strategies/figures_converter/options/en/ordinal.rb', line 13 def result(type) @type = type type == MEGS_TYPE ? check_megs_numbers : check_simple_numbers end |