Module: Arel::OrderPredications

Defined in:
ext/arel/order_predications.rb

Instance Method Summary collapse

Instance Method Details

#asc(nulls = nil) ⇒ Object



5
6
7
# File 'ext/arel/order_predications.rb', line 5

def asc(nulls=nil)
  Nodes::Ascending.new self, nulls
end

#desc(nulls = nil) ⇒ Object



9
10
11
# File 'ext/arel/order_predications.rb', line 9

def desc(nulls=nil)
  Nodes::Descending.new self, nulls
end