Module: GetToWork::Menu
- Included in:
- Command
- Defined in:
- lib/get_to_work/menu.rb
Instance Method Summary collapse
Instance Method Details
#menu_ask(statement, options, *args) ⇒ Object
3 4 5 6 7 |
# File 'lib/get_to_work/menu.rb', line 3 def (statement, , *args) shell.print_table(.table) # Assuming MenuPresenter type choice = ask(statement, *args) .item_for(choice: choice) end |