enum

Opal::PaletteMode

Inherits Enum < Comparable < Value < Object

Constants

Named = 0
Indexed = 1

Class methods

parse?(str : String | Symbol) : PaletteMode | Nil
Source

Instance methods

indexed?

Returns true if this enum value equals Indexed

Source
named?

Returns true if this enum value equals Named

Source
to_s(io : IO) : Nil

Appends a String representation of this enum member to the given io.

See also: to_s.

Source