Class: Xail::NotFilter
- Inherits:
-
AbstractCompoundFilter
- Object
- AbstractFilter
- AbstractCompoundFilter
- Xail::NotFilter
- Defined in:
- lib/xail/filter.rb
Overview
the not filter streams the original if none of the 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
144 145 146 147 148 149 150 151 152 |
# File 'lib/xail/filter.rb', line 144 def streamLine(line) @filters.each do |filter| if filter.streamLine(line) return end end return line end |