class Arel::Nodes::Function
Public Instance Methods
as(other)
click to toggle source
# File lib/arel_extensions.rb, line 136 def as other res = Arel::Nodes::As.new(self.clone, Arel.sql(other)) if Gem::Version.new(Arel::VERSION) >= Gem::Version.new("9.0.0") self.alias = Arel.sql(other) end res end
Also aliased as: old_as