Skip to content

Instantly share code, notes, and snippets.

/ruby.rb Secret

Created July 18, 2016 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/81084a4700b8efc166c3c5a9cd8431a0 to your computer and use it in GitHub Desktop.
Save anonymous/81084a4700b8efc166c3c5a9cd8431a0 to your computer and use it in GitHub Desktop.
if yamlconfig['archive']['dir-all'] and !Dir.exists? '#{archive_save_dir}'
FileUtils.mkdir "#{archive_save_dir}"
else
puts "archive directory exists"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment