test/menu/displayMenu.rb in ppcurses-0.0.25 vs test/menu/displayMenu.rb in ppcurses-0.1.0
- old
+ new
@@ -2,10 +2,10 @@
require 'rubygems'
require_relative '../../lib/ppcurses.rb'
def display_menu
- main_menu = PPCurses::Menu.new( [ 'Press', '<ESCAPE>', 'to Quit'], nil )
+ main_menu = PPCurses::Menu.new( [ 'Press', '<ESCAPE>', 'to Quit'] )
main_menu.show
main_menu.menu_selection
main_menu.close
end