Class: Arel::Nodes::Join
Direct Known Subclasses
Instance Attribute Summary collapse
-
#constraint ⇒ Object
Returns the value of attribute constraint.
-
#left ⇒ Object
Returns the value of attribute left.
-
#right ⇒ Object
Returns the value of attribute right.
Instance Method Summary collapse
-
#initialize(left, right, constraint) ⇒ Join
constructor
A new instance of Join.
Methods inherited from Node
#and, #each, #not, #or, #to_sql
Constructor Details
#initialize(left, right, constraint) ⇒ Join
Returns a new instance of Join.
6 7 8 9 10 |
# File 'lib/arel/nodes/join.rb', line 6 def initialize left, right, constraint @left = left @right = right @constraint = constraint end |
Instance Attribute Details
#constraint ⇒ Object
Returns the value of attribute constraint.
4 5 6 |
# File 'lib/arel/nodes/join.rb', line 4 def constraint @constraint end |
#left ⇒ Object
Returns the value of attribute left.
4 5 6 |
# File 'lib/arel/nodes/join.rb', line 4 def left @left end |
#right ⇒ Object
Returns the value of attribute right.
4 5 6 |
# File 'lib/arel/nodes/join.rb', line 4 def right @right end |