pry/pry-exception_explorer — pull request #15 by rking (2013-01-01 05:18:29+00:00)
Title: Monkeypatched #exception to cause fewer exceptions

The load sequence is such that `pry-exception_explorer.rb` pulls in `pry-exception_explorer/core_extensions.rb` before `PryExceptionExplorer.enabled?` is defined, so it has the potential to cause infinite recursion.

This patch makes it guarded against that, though what also works is moving the `require 'pry-exception_explorer/core_extensions'` down below the ` module PryExceptionExplorer` definition.