marksweston / finance

A library for financial calculations in Ruby
https://rubygems.org/gems/finance
Other
221 stars 91 forks source link

Amortization not defined for Numeric #6

Closed fringd closed 13 years ago

fringd commented 13 years ago

I think this is just a problem with the new namespacing... Numeric::amortize calls Amortization.new, probably means to call Finance::Amortization.new

wkranec commented 13 years ago

Fixed in the 1.1.0 release.

I didn't catch this because I include Finance in my unit test to save typing. Any ideas how I could add a test to catch this in the future?

Thanks!