RubyGems Navigation menu

attempt 0.2.0

The attempt library provides a thin wrapper for the typical begin/rescue/sleep/retry dance. Use this in order to robustly handle blocks of code that could briefly flake out, such as a socket or database connection, where it's often better to try again after a brief period rather than fail immediately.

Gemfile
          gem 'attempt', '~> 0.2.0'
  
  
  
  
  
  
  

install
          gem install attempt
  
  
  
  
  
  
  

Total downloads 15,893

For this version 9,892

Required Ruby Version: None

Links:

Versions:

  1. 0.2.0 - September 26, 2009 (7 KB)
  2. 0.1.2 - August 1, 2009 (6 KB)
  3. 0.1.1 - July 31, 2007 (5.5 KB)
  4. 0.1.0 - June 9, 2006 (5.5 KB)

Runtime Dependencies:

Development Dependencies: