blob: 6ec17885fb9fa39dda284790012d8c8d68c1abaa (
plain) (
tree)
|
|
module Arel
module Nodes
class TableAlias < Arel::Nodes::Binary
alias :name :right
alias :relation :left
alias :table_alias :name
def [] name
Attribute.new(self, name)
end
def table_name
relation.name
end
end
end
end
|