class NumbersAndWords::Translations::Pt
Public Instance Methods
Source
# File lib/numbers_and_words/translations/pt.rb, line 12 def hundreds(number, options = {}) return t(:one_hundred) if options[:is_one_hundred] return t(:hundreds)[number] if options[:is_hundred] [t(:hundreds)[number], union].join(' ') end
Source
# File lib/numbers_and_words/translations/pt.rb, line 8 def tens_with_ones(numbers, _options = {}) super(numbers, separator: " #{union} ") end
Calls superclass method