lib/utilrb/kernel/poll.rb
# Yields every +cycle+ seconds until
# the block returns false.
Yields every +cycle+ seconds until
the block returns false.
Yields every + cycle + seconds until the block returns false .
def wait_while(cycle)
        while yield
            sleep(cycle)
        end
    end
def wait_while ( cycle ) while yield sleep ( cycle ) end end
Yields every +cycle+ seconds until
the block returns false.
Yields every + cycle + seconds until the block returns false .
cycle
<not_specific>