| Class | Gem::Command |
| In: |
lib/rubygems/command.rb
|
| Parent: | Object |
Base class for all Gem commands.
| Option | = | Struct.new(:short, :long, :description, :handler) |
| command | [R] | |
| defaults | [RW] | |
| options | [R] | |
| program_name | [RW] | |
| summary | [RW] |
Override to provide details of the arguments a command takes. It should return a left-justified string, one argument per line.
Override to display the default values of the command options. (similar to arguments, but displays the default values).
Merge a set of command options with the set of default options (without modifying the default option hash).