Created
July 15, 2015 13:16
-
-
Save anonymous/3f1df089643b1169b58b to your computer and use it in GitHub Desktop.
write each hash to file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zabbix.templates_export.each do |key, value| | |
export_file = File.new("#{key}", "w+") | |
export_file.write(value) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment