Module: MyAttic
- Defined in:
- lib/attic-cleanup.rb
Overview
All the constants and initializers
Constant Summary collapse
- ATTIC =
File.join(ENV["HOME"], "MyAttic")
- TODAY =
File.join(MyAttic::ATTIC, Date.today.to_s)
- CONFIG =
File.join(MyAttic::ATTIC, "config")
- CUSTOM =
File.join(MyAttic::CONFIG, "custom_paths.txt")
- DEFAULT =
File.join(MyAttic::CONFIG, "default_path.txt")
- IGNORE =
File.join(MyAttic::CONFIG, "ignore_files.txt")
- LOG =
File.join(MyAttic::CONFIG, "log.txt")
- SHORTCUTS =
This constant is set after the initializers because it reads the custom_paths.txt file. And it needs to be created first.
AtticCleanup::Path::Custom.all(MyAttic::CUSTOM)