Module: Arel::OrderPredications

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) asc



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

def asc
  Nodes::Ascending.new self
end

- (Object) desc



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

def desc
  Nodes::Descending.new self
end