Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- updated_script_files = {}
- unless testscripts.nil?
- testscripts.each do |file_num, file|
- unless file_num.nil?
- file.each do |key, value|
- if key == 'script_name'
- updated_script_files[:file_num][:key] = value.original_filename
- else
- updated_script_files[:file_num][:key] = value
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement