Sha256: 3cf141c214225ce82d68ceafd97b4514e173021cd85eabbd83b1bd094380db5d

Contents?: true

Size: 201 Bytes

Versions: 160

Compression:

Stored size: 201 Bytes

Contents

# 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

Version data entries

160 entries across 155 versions & 14 rubygems

Version Path
activerecord-6.0.3.1 lib/arel/order_predications.rb
activerecord-6.0.3 lib/arel/order_predications.rb
activerecord-6.0.3.rc1 lib/arel/order_predications.rb
activerecord-6.0.2.2 lib/arel/order_predications.rb
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.2.1/lib/arel/order_predications.rb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.2.1/lib/arel/order_predications.rb
activerecord-6.0.2.1 lib/arel/order_predications.rb
activerecord-6.0.2 lib/arel/order_predications.rb
activerecord-6.0.2.rc2 lib/arel/order_predications.rb
activerecord-6.0.2.rc1 lib/arel/order_predications.rb
activerecord-6.0.1 lib/arel/order_predications.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/activerecord-6.0.0/lib/arel/order_predications.rb
activerecord-6.0.1.rc1 lib/arel/order_predications.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/activerecord-6.0.0/lib/arel/order_predications.rb
activerecord-6.0.0 lib/arel/order_predications.rb
activerecord-6.0.0.rc2 lib/arel/order_predications.rb
activerecord-6.0.0.rc1 lib/arel/order_predications.rb
activerecord-6.0.0.beta3 lib/arel/order_predications.rb
activerecord-6.0.0.beta2 lib/arel/order_predications.rb
activerecord-6.0.0.beta1 lib/arel/order_predications.rb