lib/grumlin/pop.rb in grumlin-0.4.0 vs lib/grumlin/pop.rb in grumlin-0.5.0
- old
+ new
@@ -1,12 +1,10 @@
# frozen_string_literal: true
module Grumlin
module Pop
- module Pop
- extend self # rubocop:disable Style/ModuleFunction
-
+ class << self
FIRST = { "@type": "g:Pop", "@value": "first" }.freeze
LAST = { "@type": "g:Pop", "@value": "last" }.freeze
ALL = { "@type": "g:Pop", "@value": "all" }.freeze
MIXED = { "@type": "g:Pop", "@value": "mixed" }.freeze
@@ -24,9 +22,7 @@
def mixed
MIXED
end
end
-
- extend Pop
end
end