lib/openwfe/participants/participant_map.rb
#
# Looks up a participant given a participant_name.
# Will return the first participant whose name matches.
#
Looks up a participant given a participant_name.
Will return the first participant whose name matches.
Looks up a participant given a participant_name . Will return the first participant whose name matches .
def lookup_participant (participant_name)
      participant_name = participant_name.to_s
      @participants.each do |tuple|
        return tuple[1] if tuple[0].match(participant_name)
      end
      nil
    end
def lookup_participant ( participant_name ) participant_name = participant_name . to_s @participants . each do | tuple | return tuple [ 1 ] if tuple [ 0 ] . match ( participant_name ) end nil end
Looks up a participant given a participant_name.
Looks up a participant given a participant_name .
participant_name
<not_specific>