Class: BinaryQ
Instance Attribute Summary collapse
-
#op1 ⇒ Object
Returns the value of attribute op1.
-
#op2 ⇒ Object
Returns the value of attribute op2.
Instance Method Summary collapse
- #empty? ⇒ Boolean
-
#initialize(op1, op2) ⇒ BinaryQ
constructor
A new instance of BinaryQ.
Methods inherited from Q
Constructor Details
#initialize(op1, op2) ⇒ BinaryQ
Returns a new instance of BinaryQ.
45 46 47 |
# File 'lib/dolzenko/django_q_object.rb', line 45 def initialize(op1, op2) self.op1, self.op2 = op1, op2 end |
Instance Attribute Details
#op1 ⇒ Object
Returns the value of attribute op1.
43 44 45 |
# File 'lib/dolzenko/django_q_object.rb', line 43 def op1 @op1 end |
#op2 ⇒ Object
Returns the value of attribute op2.
43 44 45 |
# File 'lib/dolzenko/django_q_object.rb', line 43 def op2 @op2 end |
Instance Method Details
#empty? ⇒ Boolean
49 50 51 |
# File 'lib/dolzenko/django_q_object.rb', line 49 def empty? false end |