Class: Nanoc::Int::Errors::UnknownLayout Private
- Defined in:
- lib/nanoc/base/errors.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Error that is raised during site compilation when an item uses a layout that is not present in the site.
Instance Method Summary collapse
-
#initialize(layout_identifier) ⇒ UnknownLayout
constructor
private
A new instance of UnknownLayout.
Constructor Details
#initialize(layout_identifier) ⇒ UnknownLayout
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of UnknownLayout.
28 29 30 |
# File 'lib/nanoc/base/errors.rb', line 28 def initialize(layout_identifier) super("The site does not have a layout with identifier “#{layout_identifier}”.") end |