Parent

Logging::Config::Configurator::DSL

Public Class Methods

process( &block ) click to toggle source
     # File lib/logging/config/configurator.rb, line 137
137:       def self.process( &block )
138:         dsl = new
139:         dsl.instance_eval(&block)
140:         dsl.__hash
141:       end

Public Instance Methods

__hash() click to toggle source
     # File lib/logging/config/configurator.rb, line 143
143:       def __hash
144:         @hash ||= Hash.new
145:       end
__store( key, value ) click to toggle source
     # File lib/logging/config/configurator.rb, line 155
155:       def __store( key, value )
156:         __hash[key] = value
157:       end
method_missing( method, *args, &block ) click to toggle source
     # File lib/logging/config/configurator.rb, line 147
147:       def method_missing( method, *args, &block )
148:         args << DSL.process(&block) if block
149: 
150:         key = method.to_sym
151:         value = (1 == args.length ? args.first : args)
152:         __store(key, value)
153:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.