Class: Pik::Update
- Includes:
- ScriptFileEditor
- Defined in:
- lib/pik/commands/update_command.rb
Instance Attribute Summary
Attributes included from ScriptFileEditor
Attributes inherited from Command
#config, #debug, #options, #output, #version
Instance Method Summary collapse
Methods included from ScriptFileEditor
#echo_ruby_version, #initialize, #set, #switch_gem_home_to, #switch_path_to
Methods inherited from Command
#actual_gem_home, #add_sigint_handler, aka, choose_from, #close, cmd_name, #cmd_name, #command_options, #create, #current_gem_bin_path, #current_version?, #default_gem_home, #delete_old_pik_script, description, #editors, #find_config_from_path, #gem_path, #get_version, hl, inherited, #initialize, it, names, #parse_options, #pik_version, #sh, summary
Instance Method Details
#execute ⇒ Object
9 10 11 12 |
# File 'lib/pik/commands/update_command.rb', line 9 def execute sh "#{Which::Gem.exe} install pik" @script.call("pik_install #{PIK_SCRIPT.dirname}") end |