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

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

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