class NumbersAndWords::Translations::Hy
Public Instance Methods
hundreds(number, _options = {})
click to toggle source
# File lib/numbers_and_words/translations/hy.rb, line 13 def hundreds(number, _options = {}) parts = [t(:hundreds)] parts.unshift(t(:ones)[number]) if number > 1 parts.join(' ') end
tens_with_ones(numbers, options = {})
click to toggle source
Calls superclass method
# File lib/numbers_and_words/translations/hy.rb, line 8 def tens_with_ones(numbers, options = {}) options[:separator] ||= '' super end