Retrying an Exception in Ruby

Fri Oct 28 00:00:00 -0700 2011
When dealing with over-the-wire services, I've found it helpful to retry certain errors automatically. This small helper makes it easy!