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

Overview

Represents how the text within a cell should be aligned.

Defined in:

helper/table.cr

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

Instance Method Summary

Instance Method Detail

def center? #

[View source]
def left? #

[View source]
def right? #

[View source]