Exception: InterestDays::Calculation::StartDateBeforeEndDateError
- Inherits:
-
StandardError
- Object
- StandardError
- InterestDays::Calculation::StartDateBeforeEndDateError
- Defined in:
- lib/interest_days/calculation/base.rb
Overview
StartDateBeforeEndDateError class
Instance Method Summary collapse
-
#initialize(msg = "End date have to be after start date!") ⇒ StartDateBeforeEndDateError
constructor
A new instance of StartDateBeforeEndDateError.
Constructor Details
#initialize(msg = "End date have to be after start date!") ⇒ StartDateBeforeEndDateError
Returns a new instance of StartDateBeforeEndDateError.
7 8 9 |
# File 'lib/interest_days/calculation/base.rb', line 7 def initialize(msg = "End date have to be after start date!") super(msg) end |