lib/insert.js
function insertArray (table, object, fields) {
  var input = this

  input.forEach(function addRow (entry, rowNo) {
    var tableRow = fields.map(function cell (fieldName) {
      return getCellContent.call(entry, object.fields[fieldName], rowNo)
    })
    table.push(tableRow)
  })
}
function insertArray (table, object, fields) {
  var input = this

  input.forEach(function addRow (entry, rowNo) {
    var tableRow = fields.map(function cell (fieldName) {
      return getCellContent.call(entry, object.fields[fieldName], rowNo)
    })
    table.push(tableRow)
  })
}
function insertArray ( table , object , fields ) { var input = this input . forEach ( function addRow ( entry , rowNo ) { var tableRow = fields . map ( function cell ( fieldName ) { return getCellContent . call ( entry , object . fields [ fieldName ] , rowNo ) } ) table . push ( tableRow ) } ) }
renderer.insert function for rendering arrays,
`this` bound to the input.
@param  {Table} table       cli-table
@param  {Object} object     renderer object
@param  {Array} fields      fields to show
renderer . insert function for rendering arrays this bound to the input .