Class | Limelight::Data |
In: |
lib/limelight/data.rb
|
Parent: | Object |
# File lib/limelight/data.rb, line 19 19: def downloads_dir 20: return File.join(root, "Downloads") 21: end
# File lib/limelight/data.rb, line 27 27: def establish_data_dirs 28: Dir.mkdir(root) if !File.exists?(root) 29: Dir.mkdir(downloads_dir) if !File.exists?(downloads_dir) 30: Dir.mkdir(productions_dir) if !File.exists?(productions_dir) 31: end