enum

RedBlack::Color

Inherits Enum < Comparable < Value < Object

Constants

Red = 0
Black = 1

Instance methods

black?

Returns true if this enum value equals Black

Source
red?

Returns true if this enum value equals Red

Source