class Arel::Nodes::Descending - arel-4.0.2 Documentation

# class Arel::Nodes::Descending

### Public Instance Methods

ascending?() click to toggle source

    # File lib/arel/nodes/descending.rb, line 13
    def ascending?
      false
    end

descending?() click to toggle source

    # File lib/arel/nodes/descending.rb, line 17
    def descending?
      true
    end

direction() click to toggle source

    # File lib/arel/nodes/descending.rb, line 9
    def direction
      :desc
    end

reverse() click to toggle source

    # File lib/arel/nodes/descending.rb, line 5
    def reverse
      Ascending.new(expr)
    end