Module: Arel::OrderPredications

Included in:
Attributes::Attribute, Expression, Nodes::InfixOperation, Nodes::SqlLiteral
Defined in:
lib/arel/order_predications.rb

Instance Method Summary collapse

Instance Method Details

#ascObject



4
5
6
# File 'lib/arel/order_predications.rb', line 4

def asc
  Nodes::Ascending.new self
end

#descObject



8
9
10
# File 'lib/arel/order_predications.rb', line 8

def desc
  Nodes::Descending.new self
end