class Integer

Public Instance Methods

to_money(options={}) click to toggle source
# File lib/money_in_words/core_ext/integer.rb, line 6
def to_money(options={})
  MoneyInWords::Money.new(self.to_f, options).to_words
end
to_words(options={}) click to toggle source
# File lib/money_in_words/core_ext/integer.rb, line 2
def to_words(options={})
  MoneyInWords::Integer.new(self, options).to_words
end