Class: Nanoc::RuleDSL::Errors::NoRulesFileFound Private
- Inherits:
-
Core::Error
- Object
- Core::Error
- Nanoc::RuleDSL::Errors::NoRulesFileFound
- Defined in:
- lib/nanoc/rule_dsl/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 when no rules file can be found in the current working directory.
Instance Method Summary collapse
-
#initialize ⇒ NoRulesFileFound
constructor
private
A new instance of NoRulesFileFound.
Constructor Details
#initialize ⇒ NoRulesFileFound
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 NoRulesFileFound.
9 10 11 |
# File 'lib/nanoc/rule_dsl/errors.rb', line 9 def initialize super('This site does not have a rules file, which is required for Nanoc sites.') end |