Class: NumbersAndWords::Translations::Nl
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
|
# File 'lib/numbers_and_words/translations/nl.rb', line 10
def hundreds number, options = {}
1 == number ? t(:hundreds) : [t(:ones)[number], t(:hundreds)].join
end
|
#tens_with_ones(numbers, options = {}) ⇒ Object
6
7
8
|
# File 'lib/numbers_and_words/translations/nl.rb', line 6
def tens_with_ones numbers, options = {}
[ones(numbers[0]), tens(numbers[1])].join 'en'
end
|