Skip to content

Instantly share code, notes, and snippets.

Created July 15, 2015 13:16
write each hash to file
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