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.0.3 August 24, 2008This gem version was imported to RubyGems.org on July 25, 2009. The date displayed was specified by the author in the gemspec. (5.5 KB)
- 1.0.2 August 21, 2008This gem version was imported to RubyGems.org on July 25, 2009. The date displayed was specified by the author in the gemspec. (5.5 KB)