aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/arel/nodes/ascending.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/arel/nodes/ascending.rb')
-rw-r--r--activerecord/lib/arel/nodes/ascending.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/lib/arel/nodes/ascending.rb b/activerecord/lib/arel/nodes/ascending.rb
index adadab55e4..7ee531734f 100644
--- a/activerecord/lib/arel/nodes/ascending.rb
+++ b/activerecord/lib/arel/nodes/ascending.rb
@@ -1,8 +1,8 @@
# frozen_string_literal: true
+
module Arel
module Nodes
class Ascending < Ordering
-
def reverse
Descending.new(expr)
end
@@ -18,7 +18,6 @@ module Arel
def descending?
false
end
-
end
end
end