Class: RQuery::OperationsGroup
- Inherits:
-
Object
- Object
- RQuery::OperationsGroup
- Defined in:
- lib/rquery/operation_collector.rb
Instance Attribute Summary collapse
-
#ops ⇒ Object
Returns the value of attribute ops.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(left, right, type) ⇒ OperationsGroup
constructor
A new instance of OperationsGroup.
- #to_s ⇒ Object
Constructor Details
#initialize(left, right, type) ⇒ OperationsGroup
Returns a new instance of OperationsGroup.
164 165 166 167 168 169 |
# File 'lib/rquery/operation_collector.rb', line 164 def initialize(left, right, type) @ops = Array.new @ops << left @ops << right @type = type end |
Instance Attribute Details
#ops ⇒ Object
Returns the value of attribute ops.
162 163 164 |
# File 'lib/rquery/operation_collector.rb', line 162 def ops @ops end |
#type ⇒ Object
Returns the value of attribute type.
162 163 164 |
# File 'lib/rquery/operation_collector.rb', line 162 def type @type end |