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:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  1. 0.4.2 - March 14, 2014 (19 KB)
  2. 0.4.1 - March 12, 2014 (18,5 KB)
Mostrar todas las versiones (5 total)

dependencias de Development (4):

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

Propietarios:

Autores:

  • michaeljbishop

SHA 256 checksum:

0d252e63fcb6c8a8a3c7a72488239b3339f974d21f5eedd353a46db98265b2c6

Total de descargas 6.846

Para esta versión 3.366

Licencia:

MIT

Versión de Ruby requerida: ~> 2.0

Enlace: