Sha256: 54d7b66252f471f3f88ccbdb33526f7880bb2ed8a61db5a442018b9badcac3bf

Contents?: true

Size: 271 Bytes

Versions: 158

Compression:

Stored size: 271 Bytes

Contents

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

158 entries across 136 versions & 22 rubygems

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