aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/nodes/unqualified_column.rb
blob: f9017238c8aaa18989010bc7111457547f38116e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                             

              


                                                
 



                      
                
                    

         
              
                  



         
# frozen_string_literal: true
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