lib/grumlin/t.rb in grumlin-0.4.0 vs lib/grumlin/t.rb in grumlin-0.5.0
- old
+ new
@@ -1,22 +1,18 @@
# frozen_string_literal: true
module Grumlin
module T
- module T
+ class << self
T_ID = { :@type => "g:T", :@value => "id" }.freeze # TODO: replace with a class?
T_LABEL = { :@type => "g:T", :@value => "label" }.freeze # TODO: replace with a class?
- extend self # rubocop:disable Style/ModuleFunction
-
def id
T_ID
end
def label
T_LABEL
end
end
-
- extend T
end
end