Hammertime: An interactive error console for Ruby | Virtuous Code

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

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

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.