Class: MakeMenu::StatusPanel
- Inherits:
-
Object
- Object
- MakeMenu::StatusPanel
- Defined in:
- lib/make_menu/status_panel.rb
Overview
A panel above the menu displaying the status of Docker containers. The mapping of TextLabel => ContainerName must be defined in a constant called CONTAINERS
Instance Method Summary collapse
-
#display ⇒ Object
Print panel.
Instance Method Details
#display ⇒ Object
Print panel
13 14 15 16 17 |
# File 'lib/make_menu/status_panel.rb', line 13 def display return if containers.empty? puts "\n#{panel}" end |