Module: NumToWord

Included in:
Numeric, String
Defined in:
lib/farsifu/punch.rb

Instance Method Summary collapse

Instance Method Details

#spell_farsi(verbose = true) ⇒ Object



13
14
15
# File 'lib/farsifu/punch.rb', line 13

def spell_farsi(verbose = true)
  FarsiFu::NumToWord.new(self, verbose).spell_farsi
end

#spell_ordinal_farsi(second_type = false, verbose = true) ⇒ Object



17
18
19
# File 'lib/farsifu/punch.rb', line 17

def spell_ordinal_farsi(second_type = false, verbose = true)
  FarsiFu::NumToWord.new(self, verbose).spell_ordinal_farsi(second_type)
end