Class: Squeel::Nodes::As
Overview
A node representing an SQL alias, which will result in same when visited.
Instance Attribute Summary
Attributes inherited from Binary
Instance Method Summary collapse
-
#initialize(left, right) ⇒ As
constructor
A new instance of As.
Methods inherited from Binary
Methods included from PredicateOperators
Constructor Details
#initialize(left, right) ⇒ As
Returns a new instance of As.
9 10 11 |
# File 'lib/squeel/nodes/as.rb', line 9 def initialize(left, right) @left, @right = left, right end |