mirror of
https://github.com/hahwul/WebHackersWeapons.git
synced 2024-07-05 19:01:48 +00:00
12 lines
215 B
Ruby
12 lines
215 B
Ruby
require 'json'
|
|
|
|
file = File.read('./data.json')
|
|
data_hash = JSON.parse(file)
|
|
|
|
data_hash.each do | name, obj |
|
|
puts "filename: "+name+".yaml"
|
|
puts obj['Description']
|
|
|
|
# Make object
|
|
# Save file
|
|
end |