Exception: Teapot::MissingTeapotError
- Inherits:
-
StandardError
- Object
- StandardError
- Teapot::MissingTeapotError
- 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) ⇒ MissingTeapotError
constructor
A new instance of MissingTeapotError.
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
#path ⇒ Object (readonly)
Returns the value of attribute path.
55 56 57 |
# File 'lib/teapot/loader.rb', line 55 def path @path end |