Exception: SiteFuel::Processor::UnknownFilter
- Defined in:
- lib/sitefuel/processors/AbstractProcessor.rb
Overview
raised when attempting to run a filter that doesn’t exist
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#processor ⇒ Object
readonly
Returns the value of attribute processor.
Instance Method Summary collapse
-
#initialize(processor, name) ⇒ UnknownFilter
constructor
A new instance of UnknownFilter.
- #to_s ⇒ Object
Constructor Details
#initialize(processor, name) ⇒ UnknownFilter
Returns a new instance of UnknownFilter.
26 27 28 29 |
# File 'lib/sitefuel/processors/AbstractProcessor.rb', line 26 def initialize(processor, name) @processor = processor @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
24 25 26 |
# File 'lib/sitefuel/processors/AbstractProcessor.rb', line 24 def name @name end |
#processor ⇒ Object (readonly)
Returns the value of attribute processor.
24 25 26 |
# File 'lib/sitefuel/processors/AbstractProcessor.rb', line 24 def processor @processor end |
Instance Method Details
#to_s ⇒ Object
31 32 33 34 |
# File 'lib/sitefuel/processors/AbstractProcessor.rb', line 31 def to_s "'%s' called for processor '%s'" % [@name, @processor.class] end |