Class: Pry::Shell::UI::List

Inherits:
Base
  • Object
show all
Defined in:
lib/pry/shell/ui/list.rb

Constant Summary collapse

HEADER =
"PRY-SHELL Sessions"
EMPTY_LIST =
"No session available!"
TO_MENU_ITEM =
{ name: "Go back to menu", value: "menu" }.freeze

Constants inherited from Base

Base::SEPERATOR

Class Method Summary collapse

Methods inherited from Base

clear!, draw!, stop_main_ui!

Class Method Details

.draw_contentObject



12
13
14
# File 'lib/pry/shell/ui/list.rb', line 12

def draw_content
  clients.empty? ? draw_empty_list : draw_list
end