Exception: Language::Parser::Str::NotFound
- Inherits:
-
Interuption
- Object
- StandardError
- Interuption
- Language::Parser::Str::NotFound
- Defined in:
- lib/language/parser/str/not_found.rb
Instance Method Summary collapse
-
#initialize(parser, string) ⇒ NotFound
constructor
A new instance of NotFound.
- #message ⇒ Object
Methods inherited from Interuption
#column_index, #line, #line_index
Constructor Details
#initialize(parser, string) ⇒ NotFound
Returns a new instance of NotFound.
7 8 9 10 |
# File 'lib/language/parser/str/not_found.rb', line 7 def initialize(parser, string) @parser = parser @string = string end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/language/parser/str/not_found.rb', line 12 def "#{@string} not found\n#{super}" end |