code: function(options) {
    EventEmitter.apply(this, arguments);
    options = options || {};
    this.limit = options.limit || 16;
    this.json = options.json || false;
    this.records = options.records || [];
  }
docs: Creates a RingBuffer instance.
  
  @param options The stream configuration options.