class Mmtrix::Agent::SizedBuffer
Public Instance Methods
append_event(x)
click to toggle source
# File lib/mmtrix/agent/sized_buffer.rb, line 11 def append_event(x) if @items.size < @capacity @items << x return x else return nil end end