enum

Crayon::Style

Inherits Enum < Comparable < Value < Object

Constants

Normal = 0_u8
Bold = 1_u8
Italic = 2_u8
Underline = 4_u8
Blink = 5_u8
Inverse = 7_u8
Strikethrough = 9_u8

Instance methods

bold?

Returns true if this enum value equals Bold

Source
inverse?

Returns true if this enum value equals Inverse

Source
italic?

Returns true if this enum value equals Italic

Source
normal?

Returns true if this enum value equals Normal

Source
strikethrough?

Returns true if this enum value equals Strikethrough

Source
underline?

Returns true if this enum value equals Underline

Source