mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
22 lines
346 B
Ruby
22 lines
346 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Arel # :nodoc: all
|
|
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
|