Exception: Teamocil::Error::LayoutNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- Teamocil::Error::LayoutNotFound
- Defined in:
- lib/teamocil/error/layout_not_found.rb
Instance Method Summary collapse
-
#initialize(path) ⇒ LayoutNotFound
constructor
A new instance of LayoutNotFound.
- #to_s ⇒ Object
Constructor Details
#initialize(path) ⇒ LayoutNotFound
Returns a new instance of LayoutNotFound.
4 5 6 |
# File 'lib/teamocil/error/layout_not_found.rb', line 4 def initialize(path) @path = path end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/teamocil/error/layout_not_found.rb', line 8 def to_s "Cannot find a layout at `#{@path}`" end |