14 lines
201 B
Ruby
14 lines
201 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Arel # :nodoc: all
|
|
module OrderPredications
|
|
def asc
|
|
Nodes::Ascending.new self
|
|
end
|
|
|
|
def desc
|
|
Nodes::Descending.new self
|
|
end
|
|
end
|
|
end
|