Class: Xail::AndFilter
- Inherits:
-
AbstractCompoundFilter
- Object
- AbstractFilter
- AbstractCompoundFilter
- Xail::AndFilter
- Defined in:
- lib/xail/filter.rb
Overview
the and filter streams the original if all component filters stream
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(line) ⇒ Object
116 117 118 119 120 121 122 123 124 |
# File 'lib/xail/filter.rb', line 116 def streamLine(line) @filters.each do |filter| if !filter.streamLine(line) return nil end end line end |