Sha256: a864f0b78e188c5086750f8274e85e691a104cd94aad36b36f5182a8738d7d22
Contents?: true
Size: 303 Bytes
Versions: 42
Compression:
Stored size: 303 Bytes
Contents
# encoding: utf-8 require 'one_apm/support/event_buffer' module OneApm module Agent class SizedBuffer < EventBuffer def append_event(x) if @items.size < @capacity @items << x return x else return nil end end end end end
Version data entries
42 entries across 42 versions & 1 rubygems