-
-
Save banister/4bc8f7f8f34c67c92152 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
[4] (pry) main: 0> def Kernel.raise(*) | |
p[4] (pry) main: 0* puts "yo baby" | |
[4] (pry) main: 0* end | |
=> nil | |
[5] (pry) main: 0> raise "hi" | |
RuntimeError: hi | |
from (pry):5:in `<main>' | |
[6] (pry) main: 0> Kernel.raise "baby duck" | |
yo baby | |
=> nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment