Module: Evesync::Config
- Defined in:
- lib/evesync/config.rb
Constant Summary collapse
- DEFAULTS =
{ 'loglevel' => Constants::DEFAULT_LOGLEVEL, 'ntp' => '', 'evemond' => { 'port' => Constants::MOOND_PORT, 'remotes' => [], 'watch' => [], 'watch_interval' => Constants::WATCH_INTERVAL }, 'evedatad' => { 'port' => Constants::DATAD_PORT, 'db_path' => Constants::DB_PATH, 'db_files_path' => Constants::DB_FILES_PATH }, 'evehand' => { 'port' => Constants::HAND_PORT }, 'evesyncd' => { 'port' => Constants::SYNC_PORT }, 'discover_timeout' => Constants::DISCOVER_TIMEOUT }
Class Method Summary collapse
Class Method Details
.[](param) ⇒ Object
34 35 36 |
# File 'lib/evesync/config.rb', line 34 def [](param) config[param.to_s] end |
.reread ⇒ Object
38 39 40 |
# File 'lib/evesync/config.rb', line 38 def reread read_config end |