1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/arel/nodes/unqualified_column.rb
2018-02-24 18:11:47 +10:30

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