:title:RDoc - Retry

== Synopsis

The Retry gem easily allows you to wrap a block of text in a "retry" so that it will attempt to execute successfully some number of times.

== Usage

Usage is relatively simple:

10.tries do
# unreliable code goes here...
raise 'network connection failed' if rand() < 0.7
puts 'success'
end

For further options, see Fixnum#tries