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