Skip to content

Instantly share code, notes, and snippets.

@banister
Created January 31, 2012 08:29
Show Gist options
  • Save banister/1709458 to your computer and use it in GitHub Desktop.
Save banister/1709458 to your computer and use it in GitHub Desktop.
require 'pry-exception_explorer'
PryExceptionExplorer.enabled = true
PryExceptionExplorer.intercept(RuntimeError)
def alpha
name = "john"
beta
puts name
end
def beta
x = 20
gamma
puts x
end
def gamma
raise "oh my, an exception"
end
alpha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment