Class: Xail::AbstractCompoundFilter
- Inherits:
-
AbstractFilter
- Object
- AbstractFilter
- Xail::AbstractCompoundFilter
- Defined in:
- lib/xail/filter.rb
Overview
Filter Composer
Direct Known Subclasses
AndFilter, FilterCascade, FilterComposition, NotFilter, OrFilter
Instance Attribute Summary collapse
-
#filters ⇒ Object
readonly
Returns the value of attribute filters.
Instance Method Summary collapse
- #<<(filter) ⇒ Object
-
#initialize ⇒ AbstractCompoundFilter
constructor
A new instance of AbstractCompoundFilter.
Methods inherited from AbstractFilter
Constructor Details
#initialize ⇒ AbstractCompoundFilter
Returns a new instance of AbstractCompoundFilter.
75 76 77 |
# File 'lib/xail/filter.rb', line 75 def initialize @filters = [] end |
Instance Attribute Details
#filters ⇒ Object (readonly)
Returns the value of attribute filters.
73 74 75 |
# File 'lib/xail/filter.rb', line 73 def filters @filters end |
Instance Method Details
#<<(filter) ⇒ Object
79 80 81 |
# File 'lib/xail/filter.rb', line 79 def <<(filter) @filters << filter end |