Sha256: 3b09f4225c4e566f8c08c121a467aa3f1f70ae3adb4aed610527327d1f1b2123
Contents?: true
Size: 295 Bytes
Versions: 3
Compression:
Stored size: 295 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require_relative '../../lib/ppcurses.rb' def display_menu main_menu = PPCurses::Menu.new( [ 'Press', '<ESCAPE>', 'to Quit'] ) main_menu.show main_menu.menu_selection main_menu.close end screen = PPCurses::Screen.new screen.run { display_menu }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ppcurses-0.1.2 | test/menu/displayMenu.rb |
ppcurses-0.1.1 | test/menu/displayMenu.rb |
ppcurses-0.1.0 | test/menu/displayMenu.rb |