Exception: Nanoc::Errors::NoRulesFileFound

Inherits:
Generic
  • Object
show all
Defined in:
lib/nanoc/base/errors.rb

Overview

Error that is raised when no rules file can be found in the current working directory.

Instance Method Summary (collapse)

Constructor Details

- (NoRulesFileFound) initialize

Returns a new instance of NoRulesFileFound



83
84
85
# File 'lib/nanoc/base/errors.rb', line 83

def initialize
  super('This site does not have a rules file, which is required for nanoc sites.')
end