Utility that converts a given property list into a module that provides constant time access to the various key/value pairs.
Example: load_config(test, [{limit, 1000}, {num_workers, 4}, {workers, [{test_1, test_2, test_3, test_4}]}]).
creates the moduletest such that:
test:limit(). => 1000
test:num_workers(). => 16
test:workers(). => [{test_1, test_2, test_3, test_4}]}]
| load_config/2 |
load_config(Resource, Config) -> any()
Generated by EDoc