Class: Xail::FilterCascade
- Inherits:
-
AbstractCompoundFilter
- Object
- AbstractFilter
- AbstractCompoundFilter
- Xail::FilterCascade
- Defined in:
- lib/xail/filter.rb
Overview
a cascade streams the next filter on rejection
Instance Attribute Summary
Attributes inherited from AbstractCompoundFilter
Instance Method Summary collapse
Methods inherited from AbstractCompoundFilter
Methods inherited from AbstractFilter
Constructor Details
This class inherits a constructor from Xail::AbstractCompoundFilter
Instance Method Details
#streamLine(input) ⇒ Object
87 88 89 90 91 92 93 94 95 96 |
# File 'lib/xail/filter.rb', line 87 def streamLine(input) @filters.each do |filter| line = filter.streamLine(input) if line != nil return line end end nil end |