Sha256: cfdd5856c5930c6af9adc184d2446017cd1bd951ed4bd5ad104c1d05e90e9e30
Contents?: true
Size: 238 Bytes
Versions: 4
Compression:
Stored size: 238 Bytes
Contents
module GetToWork module Menu def menu_ask(statement, options, *args) shell.print_table(options.table) # Assuming MenuPresenter type choice = ask(statement, *args) options.item_for(choice: choice) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
get_to_work-0.1.5 | lib/get_to_work/menu.rb |
get_to_work-0.1.4 | lib/get_to_work/menu.rb |
get_to_work-0.1.3 | lib/get_to_work/menu.rb |
get_to_work-0.1.2 | lib/get_to_work/menu.rb |