Class | OpenWFE::PrintParticipant |
In: |
lib/openwfe/participants/participants.rb
|
Parent: | Object |
The PrintParticipant will just emit its name to the test tracer if any or to the stdout else. Used by some unit tests.
# File lib/openwfe/participants/participants.rb, line 253 253: def consume (workitem) 254: 255: tracer = @application_context['__tracer'] 256: 257: if tracer 258: tracer << workitem.participant_name 259: tracer << "\n" 260: else 261: puts workitem.participant_name 262: end 263: 264: reply_to_engine(workitem) 265: end