Module: Arel::OrderPredications

Instance Method Summary collapse

Instance Method Details

#ascObject



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

def asc
  Nodes::Ascending.new self
end

#descObject



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

def desc
  Nodes::Descending.new self
end