class Ui::MainMenu

Defined in:

ui/main_menu.cr

Constructors

Instance Method Summary

Instance methods inherited from class Ui::Menu

add_entries(*new_entries : MenuEntry) add_entries, add_entry(entry : MenuEntry) add_entry, entries : Array(MenuEntry) entries, entries=(entries : Array(MenuEntry)) entries=

Constructor methods inherited from class Ui::Menu

new new

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def get_action(id) #

[View source]
def inspect #
Description copied from class Object

Returns an unambiguous and information-rich string representation of this object, typically intended for developers.

This method should usually not be overridden. It delegates to #inspect(IO) which can be overridden for custom implementations.

Also see #to_s.


[View source]
def to_s : String #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]