RS, IZ; close the file after writing the backer number

This commit is contained in:
ilya 2010-08-13 12:43:27 -07:00
parent 7e377fc292
commit c1d2f271d9

View file

@ -53,6 +53,6 @@ def warzombie
seed_num_hash = {:seed_number => params[:number]}
file = File.new(Rails.root.join('config','backer_number.yml'),'w')
file.write(seed_num_hash.to_yaml)
file.close
end
end