acook / config_module

Load important configuration files into their own modules
MIT License
2 stars 2 forks source link

ConfigOption#has_key? to identify key presence. #15

Closed acook closed 11 years ago

acook commented 11 years ago

Example usage:

ExampleConfig.has_key? :some_key #=> true
ExampleConfig.has_key? :nonexistant #=> false

ExampleConfig.some_key.has_key? :other_key #=> true
ExampleConfig.some_key.has_key? :nonexistant #=> false

Fixes #4