Class: NumbersAndWords::Translations::Hu
Constant Summary
Constants inherited
from Base
Base::I18N_NAMESPACE
Instance Method Summary
collapse
#micro, #micro_prefix
#ones, #zero
#mega, #megs, #teens, #tens, #union, #union_separator
Methods inherited from Base
#t
Instance Method Details
#hundreds(number, options = {}) ⇒ Object
12
13
14
15
|
# File 'lib/numbers_and_words/translations/hu.rb', line 12
def hundreds number, options = {}
options[:separator] = ''
super number, options
end
|
#micros(capacity, number = nil, separator = '') ⇒ Object
17
18
19
|
# File 'lib/numbers_and_words/translations/hu.rb', line 17
def micros capacity, number = nil, separator = ''
super capacity, nil, separator
end
|
#tens_with_ones(numbers, options = {}) ⇒ Object
7
8
9
10
|
# File 'lib/numbers_and_words/translations/hu.rb', line 7
def tens_with_ones numbers, options = {}
ones, tens = numbers
[t(:tens_with_ones)[tens], t([options[:prefix], :ones_with_tens].join('.'))[ones]].join ''
end
|