Class: Q
Instance Method Summary collapse
- #&(other) ⇒ Object
- #|(other) ⇒ Object
- #~ ⇒ Object (also: #!)
Instance Method Details
#&(other) ⇒ Object
34 35 36 |
# File 'lib/dolzenko/django_q_object.rb', line 34 def &(other) AndQ.new(self, other) end |
#|(other) ⇒ Object
30 31 32 |
# File 'lib/dolzenko/django_q_object.rb', line 30 def |(other) OrQ.new(self, other) end |
#~ ⇒ Object Also known as: !
38 39 40 |
# File 'lib/dolzenko/django_q_object.rb', line 38 def ~ NotQ.new(self) end |