Class: Pik::Gem

Inherits:
Run show all
Defined in:
lib/pik/commands/run_command.rb

Instance Attribute Summary

Attributes inherited from Command

#config, #debug, #options, #output, #version

Instance Method Summary collapse

Methods inherited from Run

#args_required?, #check_args, #command_options, #echo_ruby_version, #execute, #parse_options, #switch_gem_home_to, #switch_path_to

Methods inherited from Command

#actual_gem_home, #add_sigint_handler, aka, choose_from, clean_gem_batch, #close, #cmd_name, cmd_name, #command_options, #create, #current_gem_bin_path, #current_version?, #default_gem_home, #delete_old_pik_batches, description, #editors, #find_config_from_path, #get_gem_home, #get_version, hl, inherited, #initialize, it, names, #parse_options, #pik_version, #sh, summary

Constructor Details

This class inherits a constructor from Pik::Command

Instance Method Details

#command(cmd = Which::Gem.bat.basename) ⇒ Object



115
116
117
# File 'lib/pik/commands/run_command.rb', line 115

def command(cmd=Which::Gem.bat.basename)
  super(cmd)
end

#help_messageObject



119
120
121
122
123
124
125
126
127
128
# File 'lib/pik/commands/run_command.rb', line 119

def help_message
  sep =<<SEP
  Examples:

C:\\>pik gem list

C:\\>pik gem install my_gem

SEP
end