Compare commits
No commits in common. "f02c08820191914e83b8a605bfeee7c7857420cf" and "cd7adff9cf3fbc8211ae33cf1fa6f7996709aad1" have entirely different histories.
f02c088201
...
cd7adff9cf
|
@ -47,14 +47,10 @@ 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)
|
||||||
begin
|
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
|
||||||
rescue
|
|
||||||
pp output
|
|
||||||
abort
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def write_output_csv (output, filename)
|
def write_output_csv (output, filename)
|
||||||
|
|
Loading…
Reference in New Issue