enum

Athena::Console::Helper::Table::Alignment

Inherits Enum / Comparable / Value / Object

Represents how the text within a cell should be aligned.

Constants

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       |
+-----------------+

Instance methods

center?

Returns true if this enum value equals CENTER

Source
left?

Returns true if this enum value equals LEFT

Source
right?

Returns true if this enum value equals RIGHT

Source