Class: Finance::Interest
- Inherits:
-
Transaction
- Object
- Transaction
- Finance::Interest
- Defined in:
- lib/finance/transaction.rb
Overview
Represent an interest charge as a Transaction
Instance Attribute Summary
Attributes inherited from Transaction
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
#inspect ⇒ Object
110 111 112 |
# File 'lib/finance/transaction.rb', line 110 def inspect "Interest(#{@amount})" end |