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.
Required Ruby Version
~> 2.0
Authors
michaeljbishop
Versions
-
0.4.2
-
source
- 0.4.2 source March 14, 2014 (19 KB)
-
-
0.4.1
-
source
- 0.4.1 source March 12, 2014 (18.5 KB)
-