An 'and' filter component
The list of filters to AND together in the filter string
Create a new 'and' filter component with the given
filterlist
.
# File lib/treequel/filter.rb, line 149
def initialize( *filterlist )
@filterlist = Treequel::Filter::FilterList.new( filterlist )
super()
end
Add an additional filter to the list of requirements
# File lib/treequel/filter.rb, line 163
def add_requirement( filter )
@filterlist << filter
end
Stringify the item
# File lib/treequel/filter.rb, line 158
def to_s
return '&' + @filterlist.to_s
end