Module: NRSER::Rash::Config
- Defined in:
- lib/nrser/rash/config.rb
Overview
Where the default config options are set.
These are overridden by:
By command line options of the form
--RASH_<name>
where
<name>
corresponds to theNRSER::Rash::Config::<name>
constant.By environment variables of the form
RASH_<name>
where
<name>
corresponds to theNRSER::Rash::Config.<name>
constant.
Don't access these directly, use config to access in proper precedence.
Constant Summary collapse
- HOME =
Where to look for Rash files
ENV['HOME']
- PROFILE =
Where to look for the Rash profile file
"#{ NRSER::Rash.config('HOME') }/profile.rb"
- FUNCTIONS =
Where to look for the Rash functions file
"#{ NRSER::Rash.config('HOME') }/functions.rb"
- DEFAULT_FORMATTER =
The default Formatter to use
'pp'
- LOG_LEVEL =
Logging level
:info
- STACKTRACE =
Print stacktrace on top-level function error
'false'
- PRINT_ERRORS =
Don't print errors
'true'
- STUB_NAMESPACE_SEPERATOR =
Stub function namespace separator
'__'