Class: Arrow::Slicer::Condition
- Inherits:
-
Object
- Object
- Arrow::Slicer::Condition
show all
- Defined in:
- lib/arrow/slicer.rb
Direct Known Subclasses
ColumnCondition, EqualCondition, GreaterCondition, GreaterEqualCondition, InCondition, LessCondition, LessEqualCondition, LogicalCondition, MatchSubstringFamilyCondition, NotColumnCondition, NotEqualCondition, NotInCondition, RejectCondition, SelectCondition
Instance Method Summary
collapse
Instance Method Details
#&(condition) ⇒ Object
64
65
66
|
# File 'lib/arrow/slicer.rb', line 64
def &(condition)
AndCondition.new(self, condition)
end
|
#^(condition) ⇒ Object
72
73
74
|
# File 'lib/arrow/slicer.rb', line 72
def ^(condition)
XorCondition.new(self, condition)
end
|
#evaluate ⇒ Object
59
60
61
62
|
# File 'lib/arrow/slicer.rb', line 59
def evaluate
message = "Slicer::Condition must define \#evaluate: #{inspect}"
raise NotImplementedError.new(message)
end
|
#|(condition) ⇒ Object
68
69
70
|
# File 'lib/arrow/slicer.rb', line 68
def |(condition)
OrCondition.new(self, condition)
end
|