app/controllers/concerns/deposit_data.rb
# given a string of text, write it to a readme.txt file in the submission documentation folder
given a string of text, write it to a readme.txt file in the submission documentation folder
given a string of text write it to a readme . txt file in the submission documentation folder
def deposit_submission_documentation(text)
    target_dir = submission_documentation_dir
    target_file = File.join(target_dir, "readme.txt")
    FileUtils.mkdir_p(target_dir)
    File.open(target_file, "w") do |output|
      output.write text
    end
  end
def deposit_submission_documentation ( text ) target_dir = submission_documentation_dir target_file = File . join ( target_dir , "readme.txt" ) FileUtils . mkdir_p ( target_dir ) File . open ( target_file , "w" ) do | output | output . write text end end
given a string of text, write it to a readme.txt file in the submission documentation folder
given a string of text write it to a readme . txt file in the submission documentation folder
# the text should be written to @dir_aip/metadata/submissionDocumentation/readme.txt #   according to #   https://www.archivematica.org/en/docs/archivematica-1.4/user-manual/transfer/transfer/#create-submission
text
<not_specific>