Exception: MasterView::InvalidPathError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- MasterView::InvalidPathError
- Defined in:
- lib/masterview/exceptions.rb
Overview
Raised when an invalid path is encountered.
Used by both directive loading and template IO processing.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(path, err_msg) ⇒ InvalidPathError
constructor
A new instance of InvalidPathError.
-
#path ⇒ Object
the file system path.
Constructor Details
#initialize(path, err_msg) ⇒ InvalidPathError
Returns a new instance of InvalidPathError.
14 15 16 17 |
# File 'lib/masterview/exceptions.rb', line 14 def initialize( path, err_msg) super(err_msg) @path = path.to_s end |
Instance Method Details
#path ⇒ Object
the file system path
10 11 12 |
# File 'lib/masterview/exceptions.rb', line 10 def path @path || nil end |