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.
42 43 44 |
# File 'lib/teapot/loader.rb', line 42 def initialize(path) super "Could not read file at #{path}!" end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
46 47 48 |
# File 'lib/teapot/loader.rb', line 46 def path @path end |