# File lib/scout/server.rb, line 50 def load_history unless File.exist? @history_file debug "Creating empty history file..." File.open(@history_file, "w") do |file| YAML.dump({"last_runs" => Hash.new, "memory" => Hash.new}, file) end info "History file created." end debug "Loading history file..." @history = File.open(@history_file) { |file| YAML.load(file) } info "History file loaded." end