Module: Confoog
- Defined in:
- lib/confoog.rb,
lib/confoog/version.rb
Overview
Define the Gem version string
Defined Under Namespace
Classes: Settings
Constant Summary collapse
- DEFAULT_CONFIG =
The default filename used if none specified when created.
'.confoog'- ERR_NO_ERROR =
No error condition exists
0- ERR_FILE_NOT_EXIST =
The specified file does not exist
1- ERR_CANT_CHANGE =
You cannot change location or filename after class is instantiated
2- ERR_CANT_CREATE_FILE =
Was unable to create the specified file
4- ERR_NOT_WRITING_EMPTY_FILE =
There are no configuration variables set, so not writing empty file
8- ERR_CANT_SAVE_CONFIGURATION =
Cannot save to the specified file for some reason
16- ERR_NOT_LOADING_EMPTY_FILE =
The specified file is empty so not trying to load settings from it
32- INFO_FILE_CREATED =
Information - file was created successfully
256- INFO_FILE_LOADED =
Information - configuration was successfully loaded
512- OUTPUT_SEVERITY =
Hash containing text versions of the assorted error severity.
{ ERR: 'Error', WARN: 'Warning', INFO: 'Information' }
- DEFAULT_OPTIONS =
Hash containing default values of initialization variables
{ create_file: false, quiet: false, prefix: 'Configuration', location: '~/', filename: DEFAULT_CONFIG }
- VERSION =
Version of this Gem, using Semantic Versioning 2.0.0 semver.org/
'0.2.1'