RubyGems.org

Deferrable Gratification (DG) makes evented code less error-prone and easier to compose, and thus easier to create higher-level abstractions around. It also enhances the API offered by Ruby Deferrables to make them more pleasant to work with. Currently consists of the following components: * fluent (aka chainable) syntax for registering multiple callbacks and errbacks to the same Deferrable. * a #bothback method for registering code to run on either success or failure. * a combinator library for building up complex asynchronous operations out of simpler ones.

installgem install deferrable_gratification -v 0.1.0
Authors

Sam Stokes

16,461 total downloads 1,458 for this version
Owners

56cd5f806a8cebda6c8d1a33799724df

Gemfile
gem 'deferrable_gratification', '~> 0.1.0'
Versions
  1. 0.3.1 July 20, 2011 (16.5 KB)
  2. 0.3.0 March 25, 2011 (16.5 KB)
  3. 0.2.0 January 21, 2011 (15.5 KB)
  4. 0.1.0 January 15, 2011 (10 KB)
Runtime Dependencies
  1. eventmachine >= 0