Exception: Fuse::Exception::SourceUnknown::NotFound
- Inherits:
-
Fuse::Exception::SourceUnknown
- Object
- RuntimeError
- Fuse::Exception
- Fuse::Exception::SourceUnknown
- Fuse::Exception::SourceUnknown::NotFound
- Defined in:
- lib/fuse/exceptions.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ NotFound
constructor
A new instance of NotFound.
- #message ⇒ Object
Constructor Details
#initialize(path) ⇒ NotFound
Returns a new instance of NotFound.
12 13 14 |
# File 'lib/fuse/exceptions.rb', line 12 def initialize(path) @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
11 12 13 |
# File 'lib/fuse/exceptions.rb', line 11 def path @path end |
Instance Method Details
#message ⇒ Object
15 |
# File 'lib/fuse/exceptions.rb', line 15 def ; "Couldn't find '#{path}'." end |