Class: ConfigModule::TakelageConfig

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

Overview

takelage config class.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from SystemModule

#hash_to_yaml, #read_yaml_erb_file, #read_yaml_file, #rm_fr, #run, #run_and_exit, #run_and_fork, #try

Methods included from LoggingModule

#initialize_logging, #log

Constructor Details

#initializeTakelageConfig

Returns a new instance of TakelageConfig.



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

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

Instance Attribute Details

#activeObject

Returns the value of attribute active.



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

def active
  @active
end

#defaultObject

Returns the value of attribute default.



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

def default
  @default
end

#homeObject

Returns the value of attribute home.



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

def home
  @home
end

#projectObject

Returns the value of attribute project.



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

def project
  @project
end