Created
February 16, 2019 10:47
-
-
Save flash-gordon/38dfb992ddc54b6bb45f2fb319e0a812 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
begin | |
puts "What's your name?" | |
name = gets | |
puts "Hello #{name}" | |
rescue Read => err | |
err.continue("foobar") | |
rescue Write => err | |
err.continue | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment