From cd7adff9cf3fbc8211ae33cf1fa6f7996709aad1 Mon Sep 17 00:00:00 2001 From: Jeff Yates Date: Sun, 22 Nov 2020 15:29:25 -0500 Subject: [PATCH] print output hash for debugging --- sorter.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/sorter.rb b/sorter.rb index 09f9826..cac6539 100755 --- a/sorter.rb +++ b/sorter.rb @@ -47,6 +47,7 @@ end # output - a hash containing all of our output #This method converts the output hash to JSON and writes it to "output.json" def write_output_json (output, filename) + pp output outfile = File.open(filename,'w') outfile.write(output.to_json) outfile.close