Skip to content

Instantly share code, notes, and snippets.

@tcrayford
Created October 25, 2013 22:31
Show Gist options
  • Save tcrayford/7162831 to your computer and use it in GitHub Desktop.
Save tcrayford/7162831 to your computer and use it in GitHub Desktop.
irb(main):001:0> foo = RuntimeError
=> RuntimeError
irb(main):002:0> begin; raise RuntimeError.new; rescue foo; puts 'lol'; end
lol
=> nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment