Sha256: ece06746b62c07dc9417772497a1b9e960b7d71f48ea9a868ddd61f655b1ce60

Contents?: true

Size: 244 Bytes

Versions: 3

Compression:

Stored size: 244 Bytes

Contents

# frozen_string_literal: true

module Grumlin
  class TraversingContext
    ID = { :@type => "g:T", :@value => "id" }.freeze

    attr_reader :g

    def initialize(traversal)
      @g = traversal
    end

    def id
      ID
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
grumlin-0.1.3 lib/grumlin/traversing_context.rb
grumlin-0.1.1 lib/grumlin/traversing_context.rb
grumlin-0.1.0 lib/grumlin/traversing_context.rb