Module: Rutty::Consts
- Included in:
- Runner
- Defined in:
- lib/rutty/consts.rb
Overview
Simple container module for constants.
Constant Summary collapse
- OUTPUT_FORMATS =
List of possible output formats
%w(human-readable json xml)
- DEFAULT_OUTPUT_FORMAT =
Default output format
'human-readable'
- GENERAL_CONF_FILE =
Name of the general (defaults) config file
'config.yaml'
- NODES_CONF_FILE =
Name of the datastore file for user-defined nodes
'nodes.yaml'
- CONF_DIR =
Default configuaration storage directory
File.join(ENV['HOME'], '.rutty')
- GENERAL_CONF =
Default general (defaults) config file location
File.join(CONF_DIR, GENERAL_CONF_FILE)
- NODES_CONF =
Default nodes datastore file location
File.join(CONF_DIR, NODES_CONF_FILE)