Class: Xail::AbstractCompoundFilter

Inherits:
AbstractFilter show all
Defined in:
lib/xail/filter.rb

Overview

Filter Composer

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from AbstractFilter

#filterName, #streamLine

Constructor Details

#initializeAbstractCompoundFilter

Returns a new instance of AbstractCompoundFilter.



75
76
77
# File 'lib/xail/filter.rb', line 75

def initialize
  @filters = []
end

Instance Attribute Details

#filtersObject (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