Migration script

pull/43/head
hahwul 2022-08-15 22:15:42 +09:00
parent 15a100ad4b
commit 5bcca1f929
1 changed files with 12 additions and 0 deletions

12
1.rb Normal file
View File

@ -0,0 +1,12 @@
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