Ruote::TestLogger
A helper logger for quickstart examples.
# File lib/ruote/log/wait_logger.rb, line 37 def initialize (context) @context = context @color = 33 @context.worker.subscribe(:all, self) if @context.worker @noisy = false @count = -1 @seen = [] @waiting = [] end
# File lib/ruote/log/wait_logger.rb, line 51 def notify (msg) puts(pretty_print(msg)) if @noisy #return if @waiting.size < 1 #check_msg(msg) @seen << msg @seen.shift if @seen.size > 147 check_waiting end
[Validate]
Generated with the Darkfish Rdoc Generator 2.