aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/order_predications.rb
blob: 153fcffb41d20102c6218229f2732690f0ee6614 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Arel
  module OrderPredications

    def asc
      Nodes::Ascending.new self
    end

    def desc
      Nodes::Descending.new self
    end

  end
end