Module: Squeel::Nodes::Aliasing

Included in:
Stub, Symbol
Defined in:
lib/squeel/nodes/aliasing.rb

Instance Method Summary collapse

Instance Method Details

#as(name) ⇒ Object



7
8
9
# File 'lib/squeel/nodes/aliasing.rb', line 7

def as(name)
  As.new(self, Arel.sql(name))
end