test/menuInMenu.rb in ppcurses-0.0.8 vs test/menuInMenu.rb in ppcurses-0.0.9
- old
+ new
@@ -5,10 +5,10 @@
def displayMenu()
mainMenu = PPCurses::Menu.new( [ "Press", "<ESCAPE>", "to Quit" ], nil )
innerMenu = PPCurses::Menu.new( [ "Wow", "another", "menu" ], nil )
- menuAction = ShowMenuAction.new(innerMenu)
+ menuAction = PPCurses::ShowMenuAction.new(innerMenu)
mainMenu.setGlobalAction(menuAction)
mainMenu.show()
mainMenu.getMenuSelection()
mainMenu.close()