Writing contingent Ruby with #retryable
I recently blogged about how to add sugary syntax to re-performing a chunk of code n times. I needed it to ensure that i could rescue from a specific exception (in my case a timeout error when connecting to a socket). Check out the post to see how.
Post a comment