src/config_manager.rb
#Restores the default config and saves it as config.yml
Restores the default config and saves it as config.yml
Restores the default config and saves it as config . yml
def write_default
    if File.file? DEFAULT_CONFIG_PATH
      FileUtils.cp DEFAULT_CONFIG_PATH, CONFIG_PATH
      return true
    end
    Log.log_error "Could not find default config file at #{CONFIG_DEFAULT_PATH}"
    return false
  end
def write_default if File . file? DEFAULT_CONFIG_PATH FileUtils . cp DEFAULT_CONFIG_PATH , CONFIG_PATH return true end Log . log_error "Could not find default config file at #{CONFIG_DEFAULT_PATH}" return false end
Restores the default config and saves it as config.yml
Restores the default config and saves it as config . yml