enum Opal::PaletteMode

Defined in:

opal/style/palette_model.cr

Enum Members

Named = 0
Indexed = 1

Class Method Summary

Instance Method Summary

Class Method Detail

def self.parse?(str : String | Symbol) : PaletteMode | Nil #

[View source]

Instance Method Detail

def indexed? #

Returns true if this enum value equals Indexed


[View source]
def named? #

Returns true if this enum value equals Named


[View source]
def to_s(io : IO) : Nil #
Description copied from struct Enum

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

See also: #to_s.


[View source]