Sha256: 418423850ab70679ce2868906f2721cb57f8678d3e653e5393b42b1e04827477

Contents?: true

Size: 189 Bytes

Versions: 1

Compression:

Stored size: 189 Bytes

Contents

# frozen_string_literal: true

module DDTelemetry
  class Counter
    attr_reader :value

    def initialize
      @value = 0
    end

    def increment
      @value += 1
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ddtelemetry-1.0.0a1 lib/ddtelemetry/counter.rb