class OneApm::Agent::SizedBuffer
Public Instance Methods
append_event(x)
click to toggle source
# File lib/one_apm/support/event_buffer/sized_buffer.rb, line 9 def append_event(x) if @items.size < @capacity @items << x return x else return nil end end