Class: Nanoc::RuleDSL::Errors::NoMatchingCompilationRuleFound Private
- Inherits:
-
Core::Error
- Object
- Core::Error
- Nanoc::RuleDSL::Errors::NoMatchingCompilationRuleFound
- 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 compilation rule that can be applied to the current item can be found.
Instance Method Summary collapse
-
#initialize(item) ⇒ NoMatchingCompilationRuleFound
constructor
private
A new instance of NoMatchingCompilationRuleFound.
Constructor Details
#initialize(item) ⇒ NoMatchingCompilationRuleFound
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 NoMatchingCompilationRuleFound.
19 20 21 |
# File 'lib/nanoc/rule_dsl/errors.rb', line 19 def initialize(item) super("No compilation rules were found for the “#{item.identifier}” item.") end |