Class: ConfigModule::TakeltauConfig

Inherits:
Object
  • Object
show all
Includes:
LoggingModule, Singleton, SystemModule
Defined in:
lib/takeltau/lib/config.rb

Overview

tau config class.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from SystemModule

#command_available_else_error?, #hash_to_yaml, #read_yaml_erb_file, #read_yaml_file, #rm_fr, #run, #run_and_capture, #run_and_exit, #run_and_fork, #try, #write_file

Methods included from LoggingModule

#initialize_logging, #log

Constructor Details

#initializeTakeltauConfig



13
14
15
16
17
18
19
# File 'lib/takeltau/lib/config.rb', line 13

def initialize
  @active = {}
  @default = {}
  @home = {}
  @project = {}
  @envvars = {}
end

Instance Attribute Details

#activeObject

Returns the value of attribute active.



11
12
13
# File 'lib/takeltau/lib/config.rb', line 11

def active
  @active
end

#defaultObject

Returns the value of attribute default.



11
12
13
# File 'lib/takeltau/lib/config.rb', line 11

def default
  @default
end

#envvarsObject

Returns the value of attribute envvars.



11
12
13
# File 'lib/takeltau/lib/config.rb', line 11

def envvars
  @envvars
end

#homeObject

Returns the value of attribute home.



11
12
13
# File 'lib/takeltau/lib/config.rb', line 11

def home
  @home
end

#projectObject

Returns the value of attribute project.



11
12
13
# File 'lib/takeltau/lib/config.rb', line 11

def project
  @project
end