Sha256: 35013959ac44c70f7828da5590f8a12b0c2580d8feabcaf19113bed90971e53a
Contents?: true
Size: 325 Bytes
Versions: 11
Compression:
Stored size: 325 Bytes
Contents
module Nanoc::Telemetry class Registry def initialize @counters = {} @summaries = {} end def counter(name) @counters.fetch(name) { @counters[name] = LabelledCounter.new } end def summary(name) @summaries.fetch(name) { @summaries[name] = LabelledSummary.new } end end end
Version data entries
11 entries across 11 versions & 1 rubygems