Sha256: d785d5eb96895292524077aff116b9781a5822a21cc27c1001b9db8463aca215

Contents?: true

Size: 301 Bytes

Versions: 5

Compression:

Stored size: 301 Bytes

Contents

# frozen_string_literal: true
module Arel
  module Nodes
    class Ascending < Ordering

      def reverse
        Descending.new(expr)
      end

      def direction
        :asc
      end

      def ascending?
        true
      end

      def descending?
        false
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
spiral_form-0.1.1 vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/ascending.rb
spiral_form-0.1.0 vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/ascending.rb
nullifyable-0.1.0 vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/ascending.rb
arel-9.0.0 lib/arel/nodes/ascending.rb
arel-8.0.0 lib/arel/nodes/ascending.rb