lib/monetize.rb in monetize-1.9.0 vs lib/monetize.rb in monetize-1.9.1

- old
+ new

@@ -41,10 +41,10 @@ def parse_collection(input, currency = Money.default_currency, options = {}) Collection.parse(input, currency, options) end def from_string(value, currency = Money.default_currency) - value = BigDecimal.new(value.to_s) + value = BigDecimal(value.to_s) Money.from_amount(value, currency) end def from_fixnum(value, currency = Money.default_currency) Money.from_amount(value, currency)