Method: Clio::Usage::Subcommand#arguments
- Defined in:
- lib/clio/usage/subcommand.rb
#arguments ⇒ Object (readonly)
Array of arguments. Arguments and subcommands are mutually exclusive, ie. either @arguments or @subcommands will be empty.
TODO: Could use single attribute for both subcommands and arguments and use a flag to designate which type.
36 37 38 |
# File 'lib/clio/usage/subcommand.rb', line 36 def arguments @arguments end |