raul/retry_upto — pull request #1 by jaimeiniesta (2011-10-09 08:35:24+00:00)
Title: Experimental interval

This is just a proposal, tell me what you think...

I'm not satisfied with the :patience or :growth naming, I guess what we really mean is :interval and :interval_growth, as :growth refers to the growing rate of the :interval.

BUt, as :interval => 2, :interval_growth => 0.5 would be too long, I propose combining these related options into just one, :interval, which can be a number, or an array with a number and a multiplier or lambda for the growth.

It also makes more sense this way to me, as we shouldn't have a :growth option if we don't also pass in an :interval option.