Exception: Teamocil::Error::LayoutNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/teamocil/error/layout_not_found.rb

Instance Method Summary collapse

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_sObject



8
9
10
# File 'lib/teamocil/error/layout_not_found.rb', line 8

def to_s
  "Cannot find a layout at `#{@path}`"
end