1. Gem::
  2. Commands::
  3. HelpCommand

class Gem::Commands::HelpCommand

Public Class Methods

Source
# File lib/rubygems/commands/help_command.rb, line 283definitializesuper"help","Provide help on the 'gem' command"@command_manager =Gem::CommandManager.instanceend
Calls superclass methodGem::Command::new

Public Instance Methods

Source
# File lib/rubygems/commands/help_command.rb, line 293defexecutearg =options[:args][0]_,help =SUBCOMMANDS.finddo|command,|begins?command,argendifhelpifSymbol===helpsendhelpelsesayhelpendreturnendifoptions[:help]show_helpelsifargshow_command_helpargelsesayGem::Command::HELPendend