Class: NumbersAndWords::Translations::Nl
Constant Summary
Constants inherited
from Base
Base::I18N_NAMESPACE
Instance Method Summary
collapse
#ones, #zero
#mega, #megs, #micro_separator, #teens, #tens
Methods inherited from Base
#t
Instance Method Details
#hundreds(number, _options = {}) ⇒ Object
12
13
14
15
16
|
# File 'lib/numbers_and_words/translations/nl.rb', line 12
def hundreds(number, _options = {})
return t(:hundreds) if number == 1
super(number, separator: '')
end
|
#tens_with_ones(numbers, _options = {}) ⇒ Object
8
9
10
|
# File 'lib/numbers_and_words/translations/nl.rb', line 8
def tens_with_ones(numbers, _options = {})
[ones(numbers[0]), tens(numbers[1])].join(union(numbers[0]))
end
|