Sha256: 2befb4872a14a784003bb7981d8cabd75d521a6600659742152ef60a9d297559

Contents?: true

Size: 299 Bytes

Versions: 7

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

class OpenTracingTestTracer
  class ScopeManager
    # @api private
    class ScopeIdentifier
      def self.generate
        # 65..90.chr are characters between A and Z
        "opentracing_#{(0...8).map { rand(65..90).chr }.join}".to_sym
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
signalfx_test_tracer-0.1.4 lib/signalfx_test_tracer/scope_manager/scope_identifier.rb
signalfx_test_tracer-0.1.3 lib/signalfx_test_tracer/scope_manager/scope_identifier.rb
signalfx_test_tracer-0.1.2 lib/signalfx_test_tracer/scope_manager/scope_identifier.rb
signalfx_test_tracer-0.1.1 lib/signalfx_test_tracer/scope_manager/scope_identifier.rb
signalfx_test_tracer-0.1.0 lib/signalfx_test_tracer/scope_manager/scope_identifier.rb
opentracing_test_tracer-0.1.1 lib/opentracing_test_tracer/scope_manager/scope_identifier.rb
opentracing_test_tracer-0.1.0 lib/opentracing_test_tracer/scope_manager/scope_identifier.rb