Hammertime is an interactive error console for Ruby. Using it is simple: just gem install hammertime and require the library:
view plaincopy to clipboardprint?
Now when an error is raised, we’re be presented with a menu:
=== Stop! Hammertime. ===
An error has occurred at example.rb:6:in `faulty_method’
The error is: #<RuntimeError : Oh no!>
1. Continue (process the exception normally)
2. Ignore (proceed without raising an exception)
(Link: Hammertime: An interactive error console for Ruby | Virtuous Code)
Advertisement


January 21, 2010

No comments yet... Be the first to leave a reply!