Exception: Teapot::MissingTeapotError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ MissingTeapotError

Returns a new instance of MissingTeapotError.



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

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

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



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

def path
  @path
end