class Object

Public Instance Methods

exit_script() click to toggle source
# File bin/submit_hw, line 70
def exit_script
  prompt_to_reload unless ENV['HUMAN_NAME']
  exit(false)
end
prompt_to_reload() click to toggle source
# File bin/submit_hw, line 62
def prompt_to_reload
  puts "WARNING: this script changed your ~/.bash_profile file." + \
       " When possible immediately run the following command:".yellow
  puts " $ reload"
  puts "or, if that fails:".yellow
  puts " $ source ~/.bash_profile"
end