Exception: Language::Parser::Str::NotFound

Inherits:
Interuption
  • Object
show all
Defined in:
lib/language/parser/str/not_found.rb

Instance Method Summary collapse

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

#messageObject



12
13
14
# File 'lib/language/parser/str/not_found.rb', line 12

def message
  "#{@string} not found\n#{super}"
end