| Class | RHC::Vendor::ParseConfig |
| In: |
lib/rhc/vendor/parseconfig.rb
|
| Parent: | Object |
| Version | = | '1.0.2' |
| config_file | [RW] | |
| groups | [RW] | |
| params | [RW] |
Initialize the class with the path to the ‘config_file’ The class objects are dynamically generated by the name of the ‘param’ in the config file. Therefore, if the config file is ‘param = value’ then the itializer will eval "@param = value"
This method adds an element to the config object (not the config file) By adding a Hash, you create a new group
Add parameters to a group. Note that parameters with the same name could be placed in different groups