Exception: Nanoc3::Errors::NoMatchingCompilationRuleFound
- Inherits:
-
Generic
- Object
- StandardError
- Generic
- Nanoc3::Errors::NoMatchingCompilationRuleFound
- Defined in:
- lib/nanoc3/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
-
#initialize(item) ⇒ NoMatchingCompilationRuleFound
constructor
A new instance of NoMatchingCompilationRuleFound.
Constructor Details
#initialize(item) ⇒ NoMatchingCompilationRuleFound
Returns a new instance of NoMatchingCompilationRuleFound.
89 90 91 |
# File 'lib/nanoc3/base/errors.rb', line 89 def initialize(item) super("No compilation rules were found for the “#{item.identifier}” item.".make_compatible_with_env) end |