enum Lolcat::Action

Overview

Defines the possible actions that can be performed by the lolcat command.

This enum is used to determine what operation should be executed based on the command line arguments provided.

Defined in:

lolcat/action.cr

Enum Members

Lolcat = 0_u8

Process and display text with rainbow colors (default action)

Version = 1_u8

Display the version information

Help = 2_u8

Display the help message

Instance Method Summary

Instance Method Detail

def help? #

Returns true if this enum value equals Help


[View source]
def lolcat? #

Returns true if this enum value equals Lolcat


[View source]
def version? #

Returns true if this enum value equals Version


[View source]