Parent

Methods

Class/Module Index [+]

Quicksearch

Object

Public Instance Methods

tail_lines(io) click to toggle source
# File lib/capistrano/ext/assets/request-counter.rb, line 3
def tail_lines(io)
  io.each_line { |line| yield line }
  if io.eof? then
    sleep 0.25
    io.pos = io.pos # reset eof?
    retry
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.