Created
July 5, 2017 11:58
-
-
Save soutaro/5cb6cee5a23a3c7da23a0c48c7bedd48 to your computer and use it in GitHub Desktop.
先にraiseしてからjoinする
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
Thread.new { raise "error from thread" }.tap { sleep 1 }.join |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment