lib/ppcurses/menu/CompositeMenu.rb in ppcurses-0.0.20 vs lib/ppcurses/menu/CompositeMenu.rb in ppcurses-0.0.21

- old
+ new

@@ -5,24 +5,24 @@ def initialize(menu1, menu2) @menu1 = menu1 @menu2 = menu2 - @menu1.setSubMenu(menu2) + @menu1.set_sub_menu(menu2) end - def show() + def show @menu1.show() @menu2.show() end - def getMenuSelection() - @menu1.getMenuSelection() + def menu_selection + @menu1.menu_selection() end - def close() + def close @menu1.close() @menu2.close() end end