Class: Bankroll::AmortizationSchedule::Payment
- Inherits:
-
Struct
- Object
- Struct
- Bankroll::AmortizationSchedule::Payment
- Defined in:
- lib/bankroll/amortization_schedule.rb
Instance Attribute Summary collapse
-
#balance ⇒ Object
Returns the value of attribute balance.
-
#interest ⇒ Object
Returns the value of attribute interest.
-
#payment ⇒ Object
Returns the value of attribute payment.
-
#principal ⇒ Object
Returns the value of attribute principal.
-
#total_interest ⇒ Object
Returns the value of attribute total_interest.
Instance Attribute Details
#balance ⇒ Object
Returns the value of attribute balance
8 9 10 |
# File 'lib/bankroll/amortization_schedule.rb', line 8 def balance @balance end |
#interest ⇒ Object
Returns the value of attribute interest
8 9 10 |
# File 'lib/bankroll/amortization_schedule.rb', line 8 def interest @interest end |
#payment ⇒ Object
Returns the value of attribute payment
8 9 10 |
# File 'lib/bankroll/amortization_schedule.rb', line 8 def payment @payment end |
#principal ⇒ Object
Returns the value of attribute principal
8 9 10 |
# File 'lib/bankroll/amortization_schedule.rb', line 8 def principal @principal end |
#total_interest ⇒ Object
Returns the value of attribute total_interest
8 9 10 |
# File 'lib/bankroll/amortization_schedule.rb', line 8 def total_interest @total_interest end |