RubyGems.org

mulligan

0.4.2

Allows you to decouple the code implementing a exception-handling strategy from the code which decides which strategy to use. In other words, when you handle a Mulligan::Condition in your rescue clause, you can choose from a set of strategies (called "restarts") exposed by the exception to take the stack back to where #raise was called, execute your strategy, and pretend that the exception was never raised.

installgem install mulligan
Authors

michaeljbishop

1,529 total downloads 239 for this version
Owners

57b1b986894b511ad713b4f7a2d15165

Licenses

MIT

Gemfile
gem 'mulligan', '~> 0.4.2'
Versions
  1. 0.4.2 March 14, 2014 (19 KB)
  2. 0.4.1 March 12, 2014 (18.5 KB)
Show all versions (5 total)