Sha256: 56ac330f6d2ef87039d963d7b7e8088c50e8f1f38408a645f3812925ca8d1d8b

Contents?: true

Size: 272 Bytes

Versions: 158

Compression:

Stored size: 272 Bytes

Contents

module Arel
  module Nodes
    class Descending < Ordering

      def reverse
        Ascending.new(expr)
      end

      def direction
        :desc
      end

      def ascending?
        false
      end

      def descending?
        true
      end

    end
  end
end

Version data entries

158 entries across 136 versions & 22 rubygems

Version Path
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/arel-6.0.4/lib/arel/nodes/descending.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/arel-7.1.4/lib/arel/nodes/descending.rb
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/arel-3.0.3/lib/arel/nodes/descending.rb
autocompl-0.2.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/arel-7.1.4/lib/arel/nodes/descending.rb
autocompl-0.2.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/arel-7.1.4/lib/arel/nodes/descending.rb
autocompl-0.2.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/arel-7.1.4/lib/arel/nodes/descending.rb
autocompl-0.1.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/arel-7.1.4/lib/arel/nodes/descending.rb
autocompl-0.1.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/arel-7.1.4/lib/arel/nodes/descending.rb
autocompl-0.1.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/arel-7.1.4/lib/arel/nodes/descending.rb
autocompl-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/arel-7.1.4/lib/arel/nodes/descending.rb
abaci-0.3.0 vendor/bundle/gems/arel-7.1.0/lib/arel/nodes/descending.rb
arel-6.0.4 lib/arel/nodes/descending.rb
arel-7.1.4 lib/arel/nodes/descending.rb
arel-7.1.3 lib/arel/nodes/descending.rb
arel-7.1.2 lib/arel/nodes/descending.rb
arel-7.1.1 lib/arel/nodes/descending.rb
arel-7.1.0 lib/arel/nodes/descending.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/arel-6.0.3/lib/arel/nodes/descending.rb
angular-rails4-templates-0.4.1 vendor/ruby/2.1.0/gems/arel-5.0.1.20140414130214/lib/arel/nodes/descending.rb
angular-rails4-templates-0.4.1 vendor/ruby/2.1.0/gems/arel-6.0.3/lib/arel/nodes/descending.rb