| Class | Merb::Config::ConfigBlock |
| In: |
merb-core/lib/merb-core/config.rb
|
| Parent: | Object |
Evaluates the provided block, where any call to a method causes #[]= to be called on klass with the method name as the key and the arguments as the value.
| klass<Object~[]=>: | The object on which to assign values. |
| &block: | The block which specifies the config values to set. |
nil
:api: private
# File merb-core/lib/merb-core/config.rb, line 468
468: def initialize(klass, &block)
469: @klass = klass
470: instance_eval(&block)
471: end