Created
January 27, 2015 01:28
-
-
Save odigity/5e6c92661b90ab8aa60e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):010:0> begin | |
irb(main):011:1* raise 'foo' | |
irb(main):012:1> rescue Exception => e | |
irb(main):013:1> puts e | |
irb(main):014:1> end | |
foo | |
=> nil | |
irb(main):015:0> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment