Module: Arel::AliasPredication

Instance Method Summary collapse

Instance Method Details

#as(other) ⇒ Object



4
5
6
# File 'lib/arel/alias_predication.rb', line 4

def as other
  Nodes::As.new self, Nodes::SqlLiteral.new(other)
end