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.



50
51
52
# File 'lib/teapot/loader.rb', line 50

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

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



54
55
56
# File 'lib/teapot/loader.rb', line 54

def path
  @path
end