Sha256: 807c8e2457bb53c0432ffb85af091c5be006d84620dd1823cbc885a782e2ead7

Contents?: true

Size: 205 Bytes

Versions: 4

Compression:

Stored size: 205 Bytes

Contents

# frozen_string_literal: true

module DDMetrics
  class BasicSummary
    attr_reader :values

    def initialize
      @values = []
    end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ddmetrics-1.1.0 lib/ddmetrics/basic_summary.rb
ddmetrics-1.0.1 lib/ddmetrics/basic_summary.rb
ddmetrics-1.0.0 lib/ddmetrics/basic_summary.rb
ddmetrics-1.0.0rc1 lib/ddmetrics/basic_summary.rb