Class: ConfigModule::TakelageConfig
- Inherits:
-
Object
- Object
- ConfigModule::TakelageConfig
- Includes:
- LoggingModule, Singleton, SystemModule
- Defined in:
- lib/takelage/lib/config.rb
Overview
takelage config class.
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#default ⇒ Object
Returns the value of attribute default.
-
#home ⇒ Object
Returns the value of attribute home.
-
#project ⇒ Object
Returns the value of attribute project.
Instance Method Summary collapse
-
#initialize ⇒ TakelageConfig
constructor
A new instance of TakelageConfig.
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
Constructor Details
#initialize ⇒ TakelageConfig
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
#active ⇒ Object
Returns the value of attribute active.
11 12 13 |
# File 'lib/takelage/lib/config.rb', line 11 def active @active end |
#default ⇒ Object
Returns the value of attribute default.
11 12 13 |
# File 'lib/takelage/lib/config.rb', line 11 def default @default end |
#home ⇒ Object
Returns the value of attribute home.
11 12 13 |
# File 'lib/takelage/lib/config.rb', line 11 def home @home end |
#project ⇒ Object
Returns the value of attribute project.
11 12 13 |
# File 'lib/takelage/lib/config.rb', line 11 def project @project end |