An ‘or’ filter component
The list of filters to OR together in the filter string
Create a new ‘or’ filter component with the given filterlist.
# File lib/treequel/filter.rb, line 162
def initialize( *filterlist )
@filterlist = Treequel::Filter::FilterList.new( filterlist )
super()
end
Add an additional filter to the list of alternatives
# File lib/treequel/filter.rb, line 176
def add_alternation( filter )
@filterlist << filter
end
Stringify the item
# File lib/treequel/filter.rb, line 171
def to_s
return '|' + @filterlist.to_s
end
| / | Search |
|---|---|
| ? | Show this help |