aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/lib/arel/order_predications.rb
blob: d785bbba92902cc31ee929335087a04d70784b74 (plain) (tree)
1
2
3
4
5
6
7
8
9
                             
 
                         
                          
           
                               


            
                                
       

     
# 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