Class: IncludeFileNotFoundError
- Inherits:
-
CompilerError
- Object
- CompilerError
- IncludeFileNotFoundError
- Defined in:
- lib/compiler_error.rb
Instance Method Summary collapse
- #info ⇒ Object
-
#initialize(filename, position) ⇒ IncludeFileNotFoundError
constructor
A new instance of IncludeFileNotFoundError.
Methods inherited from CompilerError
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
#info ⇒ Object
64 65 66 |
# File 'lib/compiler_error.rb', line 64 def info "'#{@filename}' : include file not found: " end |