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

A new instance of NoRulesFileFound



78
79
80
# File 'lib/nanoc/base/errors.rb', line 78

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