Class: SmartConfig::Group
- Inherits:
-
Object
- Object
- SmartConfig::Group
- Includes:
- Values
- Defined in:
- lib/smart_config/group.rb
Overview
Handles recursive subgroups of configurations
Instance Attribute Summary
Attributes included from Values
Instance Method Summary collapse
-
#initialize(namespace, walker) ⇒ Group
constructor
A new instance of Group.
Methods included from Values
#format_value, #get_value, #group, #keys, #method_missing, #respond_to_missing?, #value
Constructor Details
#initialize(namespace, walker) ⇒ Group
Returns a new instance of Group.
12 13 14 15 16 |
# File 'lib/smart_config/group.rb', line 12 def initialize(namespace, walker, &) @namespace = namespace @walker = walker instance_exec(&) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class SmartConfig::Values