RubyGems Navigation menu

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.

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)

Authors:

  • michaeljbishop

Owners:

57b1b986894b511ad713b4f7a2d15165

Total downloads 1,665

For this version 310

Show all versions (5 total)

Required Ruby Version: None

Licenses:

MIT

Gemfile:
gem 'mulligan', '~> 0.4.2' = Copy to clipboard Copied!

install:
gem install mulligan = Copy to clipboard Copied!

Links: