Sha256: 9511ee4e8fd21c5664060125042a0ef9f6a31c5f2a134348da9adf8ee6d7a1b7
Contents?: true
Size: 194 Bytes
Versions: 2
Compression:
Stored size: 194 Bytes
Contents
# frozen_string_literal: true module DDTelemetry class BasicCounter attr_reader :value def initialize @value = 0 end def increment @value += 1 end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ddtelemetry-1.0.0a3 | lib/ddtelemetry/basic_counter.rb |
ddtelemetry-1.0.0a2 | lib/ddtelemetry/basic_counter.rb |