Class Terminal::Table::Cell
In: lib/terminal-table/cell.rb
Parent: Object

Methods

Attributes

colspan  [R]  Column span.
value  [R]  Cell value.

Public Class methods

Initialize with options.

Public Instance methods

removes all ANSI escape sequences (e.g. color)

Render the cell.

to_s(line = 0)

Alias for render

Returns the longest line in the cell and removes all ANSI escape sequences (e.g. color)

Returns the width of this cell

[Validate]