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