Exception: Emendate::MonthDayYearError
- Inherits:
-
StandardError
- Object
- StandardError
- Emendate::MonthDayYearError
- Includes:
- Module.new
- Defined in:
- lib/emendate/errors.rb
Instance Method Summary collapse
-
#initialize(tokens) ⇒ MonthDayYearError
constructor
A new instance of MonthDayYearError.
Constructor Details
#initialize(tokens) ⇒ MonthDayYearError
Returns a new instance of MonthDayYearError.
79 80 81 82 83 |
# File 'lib/emendate/errors.rb', line 79 def initialize(tokens) m = "Cannot determine any valid month/day/year combination for "\ "#{tokens.map(&:lexeme).join("-")}" super(m) end |