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
challah-0.2.1 vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/ascending.rb
challah-0.2.0 vendor/bundle/gems/arel-3.0.0/lib/arel/nodes/ascending.rb
arel-3.0.0 lib/arel/nodes/ascending.rb
dirty_history-0.4.10 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/nodes/ascending.rb
dirty_history-0.4.9 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/nodes/ascending.rb
arel-3.0.0.rc1 lib/arel/nodes/ascending.rb
dirty_history-0.4.8 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/nodes/ascending.rb
dirty_history-0.4.7 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/nodes/ascending.rb
dirty_history-0.4.6 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/nodes/ascending.rb
dirty_history-0.4.5 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/nodes/ascending.rb
dirty_history-0.4.4 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/nodes/ascending.rb
dirty_history-0.4.3 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/nodes/ascending.rb
dirty_history-0.4.2 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/nodes/ascending.rb
dirty_history-0.3.0 dirty_history/ruby/1.9.1/gems/arel-2.2.1/lib/arel/nodes/ascending.rb
arel-2.2.1 lib/arel/nodes/ascending.rb
arel-2.2.0 lib/arel/nodes/ascending.rb
arel-2.1.4 lib/arel/nodes/ascending.rb
arel-2.1.3 lib/arel/nodes/ascending.rb