Skip to content

enum Athena::Console::Helper::Table::Alignment #

Represents how the text within a cell should be aligned.

Members#

LEFT = 0#

Aligns the text to the left of the cell.

+-----------------+
| Text            |
+-----------------+

RIGHT = 1#

Aligns the text to the right of the cell.

+-----------------+
|            Text |
+-----------------+

CENTER = 2#

Centers the text within the cell.

+-----------------+
|      Text       |
+-----------------+

Methods#

#center?#

#left?#

#right?#