aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/unqualified_column.rb
blob: 31561fddd4afe2cd8380a5c30c8104202332e6a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module Arel
  module Nodes
    class UnqualifiedColumn
      def initialize attribute
        @attribute = attribute
      end

      def column
        @attribute.column
      end

      def name
        @attribute.name
      end
    end
  end
end