bagilevi/retriable — pull request #1 by lamontnelson (2012-11-12 08:06:52+00:00)
Title: :on_return option -- retry based on the result of the block

This pull request allows the return value of the code block to be inspected to determine if it should be re-executed. A new option :on_return is implemented, which accepts a Proc. If the Proc returns true, the block is re-executed.