aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/visitors/order_clauses.rb
blob: 11dbfdad2ae14025fb994db271842eb1749e788b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
module Arel
  module Visitors
    class OrderClauses < Arel::Visitors::ToSql
      private

      def visit_Arel_Nodes_SelectStatement o
        o.orders.map { |x| visit x }
      end
    end
  end
end