Method: LibGems::Command#handle_options
- Defined in:
- lib/libgems/command.rb
#handle_options(args) ⇒ Object
Handle the given list of arguments by parsing them and recording the results.
345 346 347 348 349 350 |
# File 'lib/libgems/command.rb', line 345 def (args) args = add_extra_args(args) @options = @defaults.clone parser.parse!(args) @options[:args] = args end |