Module: XxxRename::SystemConstants
- Included in:
- Contract::ConfigGenerator
- Defined in:
- lib/xxx_rename/constants.rb
Instance Method Summary collapse
Instance Method Details
#config_file_lookup_dirs ⇒ Object
89 90 91 92 93 94 |
# File 'lib/xxx_rename/constants.rb', line 89 def config_file_lookup_dirs [ File.join(home_dir, ".config", "xxx_rename"), File.join(home_dir, "xxx_rename") ] end |
#home_dir ⇒ Object
85 86 87 |
# File 'lib/xxx_rename/constants.rb', line 85 def home_dir ENV["HOME"] end |