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(ENV["HOME"], "MyAttic", Date.today.to_s)
CUSTOM =
File.join(ENV["HOME"], "MyAttic/custom_paths.txt")
DEFAULT =
File.join(ENV["HOME"], "MyAttic/default_path.txt")
IGNORE =
File.join(ENV["HOME"], "MyAttic/ignore_files.txt")
LOG =
File.join(ENV["HOME"], "MyAttic/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)