Exception: Autorespawn::FileNotFound
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Autorespawn::FileNotFound
- Defined in:
- lib/autorespawn/exceptions.rb
Overview
Exception raised when a path cannot be resolved to a file on disk
Instance Attribute Summary collapse
-
#path ⇒ Pathname
readonly
The path to resolve.
-
#search_path ⇒ Array<Pathname>
readonly
The search path that was provided to resolve #path.
Instance Method Summary collapse
-
#initialize(path, search_path) ⇒ FileNotFound
constructor
A new instance of FileNotFound.
Constructor Details
#initialize(path, search_path) ⇒ FileNotFound
Returns a new instance of FileNotFound.
10 11 12 |
# File 'lib/autorespawn/exceptions.rb', line 10 def initialize(path, search_path) @path, @search_path = path, search_path end |
Instance Attribute Details
#path ⇒ Pathname (readonly)
Returns the path to resolve.
5 6 7 |
# File 'lib/autorespawn/exceptions.rb', line 5 def path @path end |