<commit_before># pry-rescue

Super-fast debugging for Ruby. (See [Pry to the rescue!](http://cirw.in/blog/pry-to-the-rescue))
<a href="https://travis-ci.org/ConradIrwin/pry-rescue">
<img src="https://secure.travis-ci.org/ConradIrwin/pry-rescue.png?branch=master" alt="Build status">
</a>

## Introduction

pry-rescue is an implementation of "break on unhandled exception" for Ruby. Whenever an
exception is raised, but not rescued, pry-rescue will automatically open Pry for you:

```ruby
$ rescue examples/example2.rb
From: /home/conrad/0/ruby/pry-rescue/examples/example2.rb @ line 19 Object#beta:

    17: def beta
    18:   y = 30
 => 19:   gamma(1, 2)
    20: end

ArgumentError: wrong number of arguments (2 for 1)
from /home/conrad/0/ruby/pry-rescue/examples/example2.rb:22:in `gamma`
[1] pry(main)>
```

## Installation

You can install `pry-rescue` with RubyGems as normal, and I strongly recommend you also<commit_msg>Use SVG for the Travis badge in the README<commit_after># pry-rescue

Super-fast debugging for Ruby. (See [Pry to the rescue!](http://cirw.in/blog/pry-to-the-rescue))
<a href="https://travis-ci.org/ConradIrwin/pry-rescue">
<img src="https://secure.travis-ci.org/ConradIrwin/pry-rescue.svg?branch=master" alt="Build status">
</a>

## Introduction

pry-rescue is an implementation of "break on unhandled exception" for Ruby. Whenever an
exception is raised, but not rescued, pry-rescue will automatically open Pry for you:

```ruby
$ rescue examples/example2.rb
From: /home/conrad/0/ruby/pry-rescue/examples/example2.rb @ line 19 Object#beta:

    17: def beta
    18:   y = 30
 => 19:   gamma(1, 2)
    20: end

ArgumentError: wrong number of arguments (2 for 1)
from /home/conrad/0/ruby/pry-rescue/examples/example2.rb:22:in `gamma`
[1] pry(main)>
```

## Installation

You can install `pry-rescue` with RubyGems as normal, and I strongly recommend you also
{'fraction_non_alphanumeric': 0.13580901856763924, 'fraction_numerical': 0.02546419098143236, 'mean_word_length': 4.2534818941504176, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1131135', 'n_tokens_mistral': 719, 'n_tokens_neox': 674, 'n_words': 191}