Sha256: 004db7acd3aeb32c253689deca04f40a31ef97bdd03f42378711d4242df9fb92

Contents?: true

Size: 420 Bytes

Versions: 3

Compression:

Stored size: 420 Bytes

Contents

# frozen_string_literal: true

module Grumlin
  module T
    module T
      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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
grumlin-0.4.0 lib/grumlin/t.rb
grumlin-0.3.0 lib/grumlin/t.rb
grumlin-0.2.0 lib/grumlin/t.rb