Class: Nanoc::Int::Errors::UnknownFilter 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 during site compilation when an item uses a filter that is not known.
Instance Method Summary collapse
-
#initialize(filter_name) ⇒ UnknownFilter
constructor
private
A new instance of UnknownFilter.
Constructor Details
#initialize(filter_name) ⇒ UnknownFilter
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 UnknownFilter.
38 39 40 |
# File 'lib/nanoc/base/errors.rb', line 38 def initialize(filter_name) super("The requested filter, “#{filter_name}”, does not exist.") end |