Exception: Emendate::SeasonLiteralError
- Inherits:
-
StandardError
- Object
- StandardError
- Emendate::SeasonLiteralError
- Includes:
- Module.new
- Defined in:
- lib/emendate/errors.rb
Instance Method Summary collapse
-
#initialize(lexeme) ⇒ SeasonLiteralError
constructor
A new instance of SeasonLiteralError.
Constructor Details
#initialize(lexeme) ⇒ SeasonLiteralError
Returns a new instance of SeasonLiteralError.
133 134 135 136 137 138 |
# File 'lib/emendate/errors.rb', line 133 def initialize(lexeme) m = "Cannot assign literal for season value `#{lexeme}`. Dates will not "\ "be translateable until SeasonAlpha is updated "\ "to assign the appropriate literal value" super(m) end |