Method: VMC::Cli::Config.store_target

Defined in:
lib/cli/config.rb

.store_target(target_host) ⇒ Object



48
49
50
51
# File 'lib/cli/config.rb', line 48

def store_target(target_host)
  target_file = File.expand_path(TARGET_FILE)
  lock_and_write(target_file, target_host)
end