Class: Formulas::StudentLoanRepayment::RepaymentBase
- Inherits:
-
Object
- Object
- Formulas::StudentLoanRepayment::RepaymentBase
- Defined in:
- lib/formulas/student_loan_repayment/repayment_base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(salary:, repayment_threshold:) ⇒ RepaymentBase
constructor
A new instance of RepaymentBase.
Constructor Details
#initialize(salary:, repayment_threshold:) ⇒ RepaymentBase
4 5 6 7 |
# File 'lib/formulas/student_loan_repayment/repayment_base.rb', line 4 def initialize(salary:, repayment_threshold:) @salary = salary @repayment_threshold = repayment_threshold end |