Amortizer
A simple gem to calculate amortizing loan payments, as part of training at Samyukti
Installation
Add this line to your application's Gemfile:
gem 'amortizer'
And then execute:
$ bundle
Or install it yourself as:
$ gem install amortizer
Usage
require 'amortizer'
include Amortizer
loan = Loan.new(1000000, 10.5, 120)
loan.payment
Please see the spec for more examples.
Contributing
- Fork it ( http://github.com/samyukti/amortizer/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request