Class: Finance::Payment

Inherits:
Transaction show all
Defined in:
lib/finance/transaction.rb

Overview

Represent a loan payment as a Transaction

See Also:

Instance Attribute Summary

Attributes inherited from Transaction

#amount, #date, #period

Instance Method Summary collapse

Methods inherited from Transaction

#difference, #initialize, #interest?, #modify, #payment, #payment?

Constructor Details

This class inherits a constructor from Finance::Transaction

Instance Method Details

#inspectObject



118
119
120
# File 'lib/finance/transaction.rb', line 118

def inspect
  "Payment(#{@amount})"
end