lib/openwfe/participants/participant_map.rb
#
# The participant to register has been passed as a class... Have to
# instantiate it...
#
The participant to register has been passed as a class... Have to
instantiate it
The participant to register has been passed as a class ... Have to instantiate it
def instantiate_participant (regex, klass, options)
      options[:regex] = regex
      options[:application_context] = @application_context
      [
        [ regex, @application_context ], [ options ], []
      ].each do |args|
        begin
          return klass.new(*args)
        rescue Exception => e
        end
      end
    end
def instantiate_participant ( regex , klass , options ) options [ :regex ] = regex options [ :application_context ] = @application_context [ [ regex , @application_context ] , [ options ] , [ ] ] . each do | args | begin return klass . new ( * args ) rescue Exception => e end end end
The participant to register has been passed as a class... Have to
instantiate it...
The participant to register has been passed as a class ... Have to instantiate it ...
regex
<not_specific>
klass
<not_specific>
options
<not_specific>