mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
20 lines
301 B
Ruby
20 lines
301 B
Ruby
module Arel
|
|
module Nodes
|
|
class UnqualifiedColumn < Arel::Nodes::Unary
|
|
alias :attribute :expr
|
|
alias :attribute= :expr=
|
|
|
|
def relation
|
|
@expr.relation
|
|
end
|
|
|
|
def column
|
|
@expr.column
|
|
end
|
|
|
|
def name
|
|
@expr.name
|
|
end
|
|
end
|
|
end
|
|
end
|