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.

Gemfile:
= Copy to clipboard Copied!

install:
=

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)

Development Dependencies (4):

bundler ~> 1.5
rake >= 0
rspec >= 0

Owners:

Authors:

  • michaeljbishop

SHA 256 checksum:

0d252e63fcb6c8a8a3c7a72488239b3339f974d21f5eedd353a46db98265b2c6

Total downloads 6,822

For this version 3,352

License:

MIT

Required Ruby Version: ~> 2.0

Links: