Method: ArgParser::ArgumentScope#command_args
- Defined in:
- lib/arg-parser/definition.rb
#command_args ⇒ Array
Returns all command arguments that have been defined.
222 223 224 |
# File 'lib/arg-parser/definition.rb', line 222 def command_args @arguments.values.select{ |arg| CommandArgument === arg } end |