2011-04-28 04:11:50 -04:00
|
|
|
module Arel
|
|
|
|
module OrderPredications
|
|
|
|
|
|
|
|
def asc
|
2011-06-14 17:43:22 -04:00
|
|
|
Nodes::Ascending.new self
|
2011-04-28 04:11:50 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
def desc
|
2011-06-14 17:43:22 -04:00
|
|
|
Nodes::Descending.new self
|
2011-04-28 04:11:50 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|