Console::Style
Inherits Enum < Comparable < Value < Object
Constants
Black = 30_u8
Red = 31_u8
Green = 32_u8
Yellow = 33_u8
Blue = 34_u8
Magenta = 35_u8
Cyan = 36_u8
Grey = 37_u8
White = 37_u8
Bold = 1_u8
Intense = 1_u8
Itaic = 3_u8
Faint = 3_u8
Underline = 4_u8
Blink = 5_u8
Class methods
begin(style : Style | Nil) : Style.class
Sourcebegin(styles : Enumerable(Style)) : Style.class
Sourceend
Sourceprint(*strings, styles : StyleTypes | Nil, separator = nil, terminator = nil) : Style.class
Sourceprint(styles : Enumerable(Style), &block : -> Nil) : Style.class
Sourceprint(style : Style | Nil, &block : -> Nil) : Style.class
SourceInstance methods
to_s(io : IO)
Appends a String representation of this enum member to the given io.
See also: to_s.