print output hash for debugging

master
Jeff Yates 2020-11-22 15:29:25 -05:00
parent 2466a6b28b
commit cd7adff9cf
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ end
# output - a hash containing all of our output # output - a hash containing all of our output
#This method converts the output hash to JSON and writes it to "output.json" #This method converts the output hash to JSON and writes it to "output.json"
def write_output_json (output, filename) def write_output_json (output, filename)
pp output
outfile = File.open(filename,'w') outfile = File.open(filename,'w')
outfile.write(output.to_json) outfile.write(output.to_json)
outfile.close outfile.close