class Concurrent::RingBuffer

def count

Returns:
  • (Integer) - the number of elements currently in the buffer
def count
  @count
end