lib/alex_codebreaker/session.rb in alex_codebreaker-0.2.1 vs lib/alex_codebreaker/session.rb in alex_codebreaker-0.2.2
- old
+ new
@@ -41,10 +41,10 @@
end
def save_winner_statistic
@time = Time.new
check_folder_existence
- path = "#{AlexCodebreaker.configuration.winners_folder_path}#{WINNERS_FILE_NAME}"
+ path = "#{AlexCodebreaker.configuration.winners_folder_path}/#{WINNERS_FILE_NAME}"
File.open(path, 'a') { |file| file.write(to_yaml) }
end
private