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 =
'.confoog'
ERR_NO_ERROR =

Error messages to be returned

0
ERR_FILE_NOT_EXIST =
1
ERR_CANT_CHANGE =
2
ERR_CANT_CREATE_FILE =
4
ERR_NOT_WRITING_EMPTY_FILE =
8
ERR_CANT_SAVE_CONFIGURATION =
16
ERR_NOT_LOADING_EMPTY_FILE =
32
INFO_FILE_CREATED =

Info messages to be returned

256
INFO_FILE_LOADED =
512
OUTPUT_SEVERITY =
{
  ERR: 'Error',
  WARN: 'Warning',
  INFO: 'Information'
}
DEFAULT_OPTIONS =
{
  create_file: false,
  quiet: false,
  prefix: 'Configuration',
  location: '~/',
  filename: DEFAULT_CONFIG
}
VERSION =
'0.1.3'