Exception: Teapot::NonexistantTeapotError
- Inherits:
-
StandardError
- Object
- StandardError
- Teapot::NonexistantTeapotError
- Defined in:
- lib/teapot/loader.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ NonexistantTeapotError
constructor
A new instance of NonexistantTeapotError.
Constructor Details
#initialize(path) ⇒ NonexistantTeapotError
Returns a new instance of NonexistantTeapotError.
49 50 51 |
# File 'lib/teapot/loader.rb', line 49 def initialize(path) super "Could not read file at #{path}!" end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
53 54 55 |
# File 'lib/teapot/loader.rb', line 53 def path @path end |