Sha256: 3d4dad541b52bcada621a4a8d8040e569e5c5613369419aac269733921903964

Contents?: true

Size: 446 Bytes

Versions: 19

Compression:

Stored size: 446 Bytes

Contents

module Skylight
  module Messages
    def self.get(id)
      (@id_map ||= {})[id]
    end

    def self.set(id, klass)
      (@id_map ||= {})[id] = klass
    end

    require 'skylight/messages/annotation'
    require 'skylight/messages/event'
    require 'skylight/messages/span'
    require 'skylight/messages/trace'
    require 'skylight/messages/endpoint'
    require 'skylight/messages/batch'
    require 'skylight/messages/hello'
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
skylight-0.1.8 lib/skylight/messages.rb
skylight-0.1.7 lib/skylight/messages.rb
skylight-0.1.7.alpha1 lib/skylight/messages.rb
skylight-0.1.6 lib/skylight/messages.rb
skylight-0.1.6.alpha3 lib/skylight/messages.rb
skylight-0.1.6.alpha1 lib/skylight/messages.rb
skylight-0.1.5 lib/skylight/messages.rb
skylight-0.1.5.alpha2 lib/skylight/messages.rb
skylight-0.1.5.alpha1 lib/skylight/messages.rb
skylight-0.1.4 lib/skylight/messages.rb
skylight-0.1.4.alpha3 lib/skylight/messages.rb
skylight-0.1.4.alpha2 lib/skylight/messages.rb
skylight-0.1.4.alpha1 lib/skylight/messages.rb
skylight-0.1.3 lib/skylight/messages.rb
skylight-0.1.2 lib/skylight/messages.rb
skylight-0.1.1 lib/skylight/messages.rb
skylight-0.1.0 lib/skylight/messages.rb
skylight-0.1.0.alpha2 lib/skylight/messages.rb
skylight-0.1.0.alpha1 lib/skylight/messages.rb