Class: Integer

Inherits:
Object
  • Object
show all
Defined in:
lib/num2words/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#to_currency(*args, **opts) ⇒ Object



8
9
10
# File 'lib/num2words/core_ext.rb', line 8

def to_currency(*args, **opts)
  Num2words::Converter.to_currency(self, *args, **opts)
end

#to_words(*args, **opts) ⇒ Object



4
5
6
# File 'lib/num2words/core_ext.rb', line 4

def to_words(*args, **opts)
  Num2words::Converter.to_words(self, *args, **opts)
end