Class: NumbersAndWords::Translations::Et
Constant Summary
Constants inherited
from Base
Base::I18N_NAMESPACE
Instance Method Summary
collapse
#ones, #zero
#mega, #megs, #teens, #tens, #union, #union_separator
Methods inherited from Base
#t
Instance Method Details
#hundreds(number, options = {}) ⇒ Object
10
11
12
13
|
# File 'lib/numbers_and_words/translations/et.rb', line 10
def hundreds number, options = {}
options[:separator] = ''
super number, options
end
|
#tens_with_ones(numbers, options = {}) ⇒ Object
6
7
8
|
# File 'lib/numbers_and_words/translations/et.rb', line 6
def tens_with_ones numbers, options = {}
[tens(numbers[1], :alone => false), ones(numbers[0])].join ' '
end
|