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
angular-rails4-templates-0.4.0 vendor/ruby/2.1.0/gems/arel-6.0.3/lib/arel/nodes/ascending.rb
angular-rails4-templates-0.4.0 vendor/ruby/2.1.0/gems/arel-5.0.1.20140414130214/lib/arel/nodes/ascending.rb
angular-rails4-templates-0.3.0 vendor/ruby/2.1.0/gems/arel-6.0.3/lib/arel/nodes/ascending.rb
angular-rails4-templates-0.3.0 vendor/ruby/2.1.0/gems/arel-5.0.1.20140414130214/lib/arel/nodes/ascending.rb
arel-7.0.0 lib/arel/nodes/ascending.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/arel-6.0.3/lib/arel/nodes/ascending.rb
arel-6.0.3 lib/arel/nodes/ascending.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/arel-6.0.0/lib/arel/nodes/ascending.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/arel-6.0.0/lib/arel/nodes/ascending.rb
arel-6.0.2 lib/arel/nodes/ascending.rb
arel-6.0.1 lib/arel/nodes/ascending.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/arel-6.0.0/lib/arel/nodes/ascending.rb
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/arel-3.0.2/lib/arel/nodes/ascending.rb
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/arel-6.0.0/lib/arel/nodes/ascending.rb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/arel-3.0.2/lib/arel/nodes/ascending.rb
arel-6.0.0 lib/arel/nodes/ascending.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/arel-3.0.3/lib/arel/nodes/ascending.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/arel-3.0.3/lib/arel/nodes/ascending.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.8/gems/arel-3.0.3/lib/arel/nodes/ascending.rb
apl-library-0.0.90 vendor/bundle/ruby/1.8/gems/arel-3.0.3/lib/arel/nodes/ascending.rb