Sha256: 9d23307eb22d3620066762a767ba9635fd1c3fd73d3061b68a040c76668826bc

Contents?: true

Size: 207 Bytes

Versions: 2

Compression:

Stored size: 207 Bytes

Contents

# frozen_string_literal: true

module DDTelemetry
  class BasicSummary
    attr_reader :values

    def initialize
      @values = []
    end

    def observe(value)
      @values << value
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ddtelemetry-1.0.0a3 lib/ddtelemetry/basic_summary.rb
ddtelemetry-1.0.0a2 lib/ddtelemetry/basic_summary.rb