lib/utilrb/kernel/poll.rb
# Yields every +cycle+ seconds
Yields every +cycle+ seconds
Yields every + cycle + seconds
def poll(cycle)
	loop do
	    yield
	    sleep(cycle)
	end
    end
def poll ( cycle ) loop do yield sleep ( cycle ) end end
Yields every +cycle+ seconds
Yields every + cycle + seconds
cycle
<not_specific>