restarts.rb implements a new method Kernel#raise_condition which is similar to Kernel#raise for throwing exceptions, with the added feature of adding "restarts" next to the place where the exception is thrown so that they can be invoked from the exception handler somewhere higher up in the stack.

Required Ruby Version

None

Authors

Archit Baweja

Versions

  1. 1.0.3 August 24, 2008* (5.5 KB)
  2. 1.0.2 August 21, 2008* (5.5 KB)

SHA 256 checksum