lib/grumlin/order.rb in grumlin-0.4.0 vs lib/grumlin/order.rb in grumlin-0.5.0
- old
+ new
@@ -1,22 +1,18 @@
# frozen_string_literal: true
module Grumlin
module Order
- module Order
+ class << self
DESC = { "@type": "g:Order", "@value": "desc" }.freeze
ASC = { "@type": "g:Order", "@value": "desc" }.freeze
- extend self # rubocop:disable Style/ModuleFunction
-
def asc
ASC
end
def desc
DESC
end
end
-
- extend Order
end
end