Module: Squeel::Nodes::PredicateOperators
- Defined in:
- lib/squeel/nodes/predicate_operators.rb
Instance Method Summary collapse
Instance Method Details
#&(other) ⇒ Object
8 9 10 |
# File 'lib/squeel/nodes/predicate_operators.rb', line 8 def &(other) And.new([self, other]) end |
#-@ ⇒ Object
12 13 14 |
# File 'lib/squeel/nodes/predicate_operators.rb', line 12 def -@ Not.new(self) end |
#|(other) ⇒ Object
4 5 6 |
# File 'lib/squeel/nodes/predicate_operators.rb', line 4 def |(other) Or.new(self, other) end |