mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
14 lines
168 B
Ruby
14 lines
168 B
Ruby
|
module Arel
|
||
|
module OrderPredications
|
||
|
|
||
|
def asc
|
||
|
Nodes::Ordering.new self, :asc
|
||
|
end
|
||
|
|
||
|
def desc
|
||
|
Nodes::Ordering.new self, :desc
|
||
|
end
|
||
|
|
||
|
end
|
||
|
end
|