enum

TermBuf::Unicode::Align

Inherits Enum < Comparable < Value < Object

Which end of a fitted string keeps its position when there is room to spare.

Constants

Left = 0

Text first, padding after it.

Right = 1

Padding first, text after it.

Center = 2

Padding split either side, the odd cell going to the right.

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