Exception: Emendate::MonthDayError
- Inherits:
-
StandardError
- Object
- StandardError
- Emendate::MonthDayError
- Includes:
- Module.new
- Defined in:
- lib/emendate/errors.rb
Instance Method Summary collapse
-
#initialize(n1, n2, y) ⇒ MonthDayError
constructor
A new instance of MonthDayError.
Constructor Details
#initialize(n1, n2, y) ⇒ MonthDayError
Returns a new instance of MonthDayError.
69 70 71 72 73 |
# File 'lib/emendate/errors.rb', line 69 def initialize(n1, n2, y) m = "Cannot determine valid month/date assignment for "\ "#{n1.literal} and #{n2.literal} with year: #{y.lexeme}" super(m) end |