I am trying to pretty print a hash to a file.
I tried unix redirects [added different flags to it incrementally] :
`echo #{pp mymap} | tee summary.out
require 'pp' File.open("test.txt","w") do |f| PP.pp(self,f) end