Class: NumbersAndWords::Translations::Tr
- Includes:
- Families::Latin
- Defined in:
- lib/numbers_and_words/translations/tr.rb
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Methods included from Families::Latin
Methods included from Families::Base
#mega, #megs, #micro_separator, #teens, #tens, #tens_with_ones, #union
Methods inherited from Base
Instance Method Details
#hundreds(number, options = {}) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/numbers_and_words/translations/tr.rb', line 8 def hundreds(number, = {}) if number == 1 [t([[:prefix], :hundreds].join('.'))].join [:separator] || ' ' else [t(:ones)[number], t([[:prefix], :hundreds].join('.'))].join [:separator] || ' ' end end |