class
Gem::Command
v2_4_6 -
Show latest stable
- Superclass: Object
Base class for all Gem commands. When creating a new gem command, define #initialize, #execute, #arguments, #defaults_str, #description and #usage (as appropriate). See the above mentioned methods for details.
A very good example to look at is Gem::Commands::ContentsCommand
Included modules
- Gem::UserInteraction
Attributes
| [R] | command |
| [RW] | defaults |
| [R] | options |
| [RW] | program_name |
| [RW] | summary |
Files
- lib/rubygems/command.rb