= wait_for

* http://cyberconnect.biz

== DESCRIPTION:

Means for waiting till a condition has been met or until a timeout reached.

== SYNOPSIS:

wait_for(timeout in seconds) { some ruby block which evaluates to true when a condition is met }

Ex: wait_for(2) { rand(100) == 50 }
In this case if rand(100) is called repedativly and if the value == 50 before 2 seconds is reached true
is returned else false.

== INSTALL:

* gem install wait_for

== LICENSE:

GPLv3: http://www.gnu.org/licenses/gpl.html