lib/ppcurses/menu/RadioMenu.rb in ppcurses-0.0.24 vs lib/ppcurses/menu/RadioMenu.rb in ppcurses-0.0.25
- old
+ new
@@ -88,12 +88,14 @@
@actions[@selection].execute
self.show
end
end
end
-
+ def selected_menu_name
+ @items[@selection]
+ end
end
end