Exception: Lox::LexicalAnalyzer::InvalidCharacter
- Inherits:
-
StandardError
- Object
- StandardError
- Lox::LexicalAnalyzer::InvalidCharacter
- Defined in:
- lib/lox/lexical_analyzer/invalid_character.rb
Instance Method Summary collapse
-
#initialize(character) ⇒ InvalidCharacter
constructor
A new instance of InvalidCharacter.
Constructor Details
#initialize(character) ⇒ InvalidCharacter
Returns a new instance of InvalidCharacter.
6 7 8 |
# File 'lib/lox/lexical_analyzer/invalid_character.rb', line 6 def initialize(character) super("Invalid character: #{character}") end |