lib/acts_as_money/money.rb in eeng-money-0.0.1 vs lib/acts_as_money/money.rb in eeng-money-0.1.0
- old
+ new
@@ -27,10 +27,10 @@
def eql? other
@amount == other.amount
end
def to_s
- "$%.#{@decimals}f" % @amount
+ ActiveSupport::NumberHelper.number_to_currency to_d
end
def inspect
to_s
end
\ No newline at end of file