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.
48 49 50 |
# File 'lib/dolzenko/django_q_object.rb', line 48 def initialize(op1, op2) self.op1, self.op2 = op1, op2 end |
Instance Attribute Details
#op1 ⇒ Object
Returns the value of attribute op1.
46 47 48 |
# File 'lib/dolzenko/django_q_object.rb', line 46 def op1 @op1 end |
#op2 ⇒ Object
Returns the value of attribute op2.
46 47 48 |
# File 'lib/dolzenko/django_q_object.rb', line 46 def op2 @op2 end |
Instance Method Details
#empty? ⇒ Boolean
52 53 54 |
# File 'lib/dolzenko/django_q_object.rb', line 52 def empty? false end |