RubyGems Navigation menu

mulligan 0.4.1

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!

instalar:
=

Versões:

  1. 0.4.2 - March 14, 2014 (19 KB)
  2. 0.4.1 - March 12, 2014 (18,5 KB)
Mostrar todas as versões (5)

Development Dependencies (4):

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

Donos:

Autores:

  • michaeljbishop

SHA 256 checksum:

a8e4a04339b0447519e5df33b484daf34ee9bbeb979ec94aaccba3bad2b5bb55

Total de downloads 6.855

Desta versão 2.418

Licença:

MIT

Versão Requerida do Ruby: ~> 2.0

Links: