Class: Arel::Nodes::Binary
Direct Known Subclasses
And, As, Assignment, Between, DeleteStatement, DoesNotMatch, Equality, GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual, Matches, NotEqual, NotIn, Or, Ordering, TableAlias, Values
Instance Attribute Summary collapse
-
#left ⇒ Object
Returns the value of attribute left.
-
#right ⇒ Object
Returns the value of attribute right.
Instance Method Summary collapse
-
#initialize(left, right) ⇒ Binary
constructor
A new instance of Binary.
Methods inherited from Node
#and, #each, #not, #or, #to_sql
Constructor Details
#initialize(left, right) ⇒ Binary
Returns a new instance of Binary.
6 7 8 9 |
# File 'lib/arel/nodes/binary.rb', line 6 def initialize left, right @left = left @right = right end |
Instance Attribute Details
#left ⇒ Object
Returns the value of attribute left.
4 5 6 |
# File 'lib/arel/nodes/binary.rb', line 4 def left @left end |
#right ⇒ Object
Returns the value of attribute right.
4 5 6 |
# File 'lib/arel/nodes/binary.rb', line 4 def right @right end |