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
          gem 'mulligan', '~> 0.4.2'
  
  
  
  
  
  
  

install
          gem install mulligan
  
  
  
  
  
  
  

Licenses:

  • MIT

Total downloads 1,660

For this version 308

Show all versions (5 total)

Required Ruby Version: None

Links:

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)