#!/usr/bin/env ruby require 'rubygems' require_relative '../lib/ppcurses.rb' def displayMenu() mainMenu = PPCurses::Menu.new( [ "Press", "", "to Quit" ], nil ) mainMenu.show() mainMenu.getMenuSelection() mainMenu.close() end screen = PPCurses::Screen.new() screen.run { displayMenu() }