Methods
check()
check that the config is good to go
for instance: check that all required arguments are set
This:
- {Config}
getValue(key) → {anything}
get a value for a key.
This:
- {Config}
Parameters:
Name | Type | Description |
---|---|---|
key |
anything | key to store in the config. |
Returns:
the value associated with the key.
- Type
- anything
initialize(tmpl) → {Config}
creates a new instance.
This:
- {Config}
Parameters:
Name | Type | Description |
---|---|---|
tmpl |
object | template to use. |
Returns:
new instance.
- Type
- Config
override(d)
set many values at once
This:
- {Config}
Parameters:
Name | Type | Description |
---|---|---|
d |
object | dictionary of values. |
setValue(key, value)
set a key to a certain value in the current configuration
This:
- {Config}
Parameters:
Name | Type | Description |
---|---|---|
key |
anything | key to store in the config. |
value |
anything | value to store in the config. |