aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/arel/order_predications.rb
blob: d785bbba92902cc31ee929335087a04d70784b74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module Arel # :nodoc: all
  module OrderPredications
    def asc
      Nodes::Ascending.new self
    end

    def desc
      Nodes::Descending.new self
    end
  end
end