Wait.until is now an instance method, Wait#until. This was done so options can be set once and reused. Other changes: 1. The exception from the last attempt made is now raised 2. Simplified examples 3. Added Wait::TimeoutError (to not clash with Timeout::Error that may occur within the block) 4. Added more comments 5. Broke a few longer one-liners into separate lines
Wait.until is now an instance method, Wait#until.
This was done so options can be set once and reused. Other changes:
1. The exception from the last attempt made is now raised
2. Simplified examples
3. Added Wait::TimeoutError (to not clash with Timeout::Error that may occur within the block)
4. Added more comments
5. Broke a few longer one-liners into separate lines

foursquare/wait,foursquare/wait