class Ui::MainMenu
- Ui::MainMenu
- Ui::Menu
- Reference
- Object
Defined in:
ui/main_menu.crConstructors
Instance Method Summary
- #get_action(id)
-
#inspect
Returns an unambiguous and information-rich string representation of this object, typically intended for developers.
-
#to_s : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
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
Instance Method Detail
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
.
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
.