Exception: Fuse::Exception::SourceUnknown::NotFound

Inherits:
Fuse::Exception::SourceUnknown show all
Defined in:
lib/fuse/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#pathObject (readonly)

Returns the value of attribute path.



11
12
13
# File 'lib/fuse/exceptions.rb', line 11

def path
  @path
end

Instance Method Details

#messageObject



15
# File 'lib/fuse/exceptions.rb', line 15

def message; "Couldn't find '#{path}'." end