request-counter.rb

Path: lib/capistrano/ext/assets/request-counter.rb
Last Update: Fri Apr 19 10:01:57 +0000 2013

Required files

thread  

Methods

Public Instance methods

[Source]

    # File lib/capistrano/ext/assets/request-counter.rb, line 3
 3: def tail_lines(io)
 4:   io.each_line { |line| yield line }
 5:   if io.eof? then
 6:     sleep 0.25
 7:     io.pos = io.pos # reset eof?
 8:     retry
 9:   end
10: end

[Validate]