Method: PoolParty::Default.properties_hash_file
- Defined in:
- lib/poolparty/poolparty/default.rb
.properties_hash_file ⇒ Object
106 107 108 109 110 111 112 113 114 |
# File 'lib/poolparty/poolparty/default.rb', line 106 def properties_hash_file [ Default.base_config_directory, Dir.pwd ].collect do |dir| full_dir = ::File.join(dir, Default.properties_hash_filename) full_dir if ::File.file?(full_dir) end.compact.first || "#{Default.base_config_directory}/#{Default.properties_hash_filename}" end |