Sha256: 92d72e4d2c46da93c537243163335ecea10bb7c0de5ace6494aa662e7f250595

Contents?: true

Size: 218 Bytes

Versions: 1

Compression:

Stored size: 218 Bytes

Contents

class BaseMenu

  def set_sub_menu(menu)
    @sub_menu = menu
  end

  def hide()
    @win.clear
    @win.refresh

    @sub_menu.hide() if @sub_menu
  end

  def selected_menu_name()
    @items[@selection]
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ppcurses-0.0.21 lib/ppcurses/menu/BaseMenu.rb