Exception: InterestDays::Calculation::StartDateBeforeEndDateError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/interest_days/calculation/base.rb

Overview

StartDateBeforeEndDateError class

Instance Method Summary collapse

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