Class: MakeMenu::StatusPanel

Inherits:
Object
  • Object
show all
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

Instance Method Details

#displayObject

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