Class: Nanoc::Int::Errors::NoMatchingRoutingRuleFound Private
- Defined in:
- lib/nanoc/base/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 routing rule that can be applied to the current item can be found.
Instance Method Summary collapse
-
#initialize(rep) ⇒ NoMatchingRoutingRuleFound
constructor
private
A new instance of NoMatchingRoutingRuleFound.
Constructor Details
#initialize(rep) ⇒ NoMatchingRoutingRuleFound
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 NoMatchingRoutingRuleFound.
88 89 90 |
# File 'lib/nanoc/base/errors.rb', line 88 def initialize(rep) super("No routing rules were found for the “#{rep.item.identifier}” item (rep “#{rep.name}”).") end |