lib/memprof2.rb in memprof2-0.1.0 vs lib/memprof2.rb in memprof2-0.1.1
- old
+ new
@@ -29,10 +29,10 @@
end
def report(opts={})
configure(opts)
results = collect_info
- File.open(@out, 'w') do |io|
+ File.open(@out, 'a') do |io|
results.each do |location, memsize|
io.puts "#{memsize} #{location}"
end
end
end