Method: ListTool::App::ShowItemsCommand.parse
- Defined in:
- lib/list_tool/app/commands/show_items_command.rb
.parse(argv) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/list_tool/app/commands/show_items_command.rb', line 11 def parse argv fail_if_not_an_array(argv) list = argv.shift list ? {list: parse_list_number(list)} : {} end |