Class: NumbersAndWords::Translations::It

Inherits:
Base
  • Object
show all
Includes:
Families::Latin
Defined in:
lib/numbers_and_words/translations/it.rb

Constant Summary

Constants inherited from Base

Base::I18N_NAMESPACE

Instance Method Summary collapse

Methods included from Families::Latin

#ones, #zero

Methods included from Families::Base

#mega, #megs, #teens, #tens, #union, #union_separator

Methods inherited from Base

#t

Instance Method Details

#hundreds(number, options = {}) ⇒ Object



10
11
12
# File 'lib/numbers_and_words/translations/it.rb', line 10

def hundreds number, options = {}
  [[number], t(:hundreds)].join ' '
end

#tens_with_ones(numbers, options = {}) ⇒ Object



6
7
8
# File 'lib/numbers_and_words/translations/it.rb', line 6

def tens_with_ones numbers, options = {}
  super numbers, :separator => ''
end