Class: IncludeFileNotFoundError

Inherits:
CompilerError show all
Defined in:
lib/compiler_error.rb

Instance Method Summary collapse

Methods inherited from CompilerError

#to_s

Constructor Details

#initialize(filename, position) ⇒ IncludeFileNotFoundError

Returns a new instance of IncludeFileNotFoundError.



59
60
61
62
# File 'lib/compiler_error.rb', line 59

def initialize filename, position
  super position
  @filename = filename
end

Instance Method Details

#infoObject



64
65
66
# File 'lib/compiler_error.rb', line 64

def info
  "'#{@filename}' : include file not found: "
end