Exception: Nanoc::Errors::NoMatchingCompilationRuleFound

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

Overview

Error that is raised when no compilation rule that can be applied to the current item can be found.

Instance Method Summary (collapse)

Constructor Details

- (NoMatchingCompilationRuleFound) initialize(item)

Returns a new instance of NoMatchingCompilationRuleFound

Parameters:

  • item (Nanoc::Item)

    The item for which no compilation rule could be found



95
96
97
# File 'lib/nanoc/base/errors.rb', line 95

def initialize(item)
  super("No compilation rules were found for the “#{item.identifier}” item.")
end