Sha256: 5f2644a6ecb15edd33833949cdf61ead217ef432526c42e7466103726fd25445
Contents?: true
Size: 196 Bytes
Versions: 2
Compression:
Stored size: 196 Bytes
Contents
class Integer def to_words(options={}) MoneyInWords::Integer.new(self, options).to_words end def to_money(options={}) MoneyInWords::Money.new(self.to_f, options).to_words end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
money_in_words-1.0.1 | lib/money_in_words/core_ext/integer.rb |
money_in_words-1.0.0 | lib/money_in_words/core_ext/integer.rb |