Exception: Teapot::NonexistantTeapotError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/teapot/loader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ NonexistantTeapotError

Returns a new instance of NonexistantTeapotError.



42
43
44
# File 'lib/teapot/loader.rb', line 42

def initialize(path)
	super "Could not read file at #{path}!"
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



46
47
48
# File 'lib/teapot/loader.rb', line 46

def path
  @path
end