MCPcopy Create free account
hub / github.com/cli-table/cli-table3 / draw

Method draw

src/cell.js:347–356  ·  view source on GitHub ↗
(lineNum)

Source from the content-addressed store, hash-verified

345 }
346
347 draw(lineNum) {
348 if (lineNum == 'top') {
349 return this.originalCell.draw(this.offset, this.cellOffset);
350 }
351 if (lineNum == 'bottom') {
352 return this.originalCell.draw('bottom');
353 }
354 debug(`${this.y}-${this.x}: 1x${this.colSpan} RowSpanCell for ${this.originalCell.content}`);
355 return this.originalCell.draw(this.offset + 1 + lineNum);
356 }
357
358 mergeTableOptions() {}
359}

Callers

nothing calls this directly

Calls 2

debugFunction · 0.85
drawMethod · 0.45

Tested by

no test coverage detected