class NumbersAndWords::Translations::De
Constants
- DEFAULT_POSTFIX
Public Instance Methods
Source
# File lib/numbers_and_words/translations/de.rb, line 17 def hundreds(number, _options = {}) [ones(number), t(:hundreds)].join end
Source
# File lib/numbers_and_words/translations/de.rb, line 9 def ones(number, options = {}) t([options[:prefix], :ones, options[:postfix] || DEFAULT_POSTFIX].join('.'))[number] end
Source
# File lib/numbers_and_words/translations/de.rb, line 13 def tens_with_ones(numbers, options = {}) [tens(numbers[1]), ones(numbers[0], options)].reverse.join(union) end
Source
# File lib/numbers_and_words/translations/de.rb, line 21 def zero(_options = {}) ones 0 end