Skip to content

Instantly share code, notes, and snippets.

@kyrylo kyrylo/thr.rb Secret

Created Sep 27, 2019
What would you like to do?
thr1 = { Thread.stop }
thr2 = { sleep }
p thr1 #=> #<Thread:0x00007fb4d7859ad8@(pry):1 sleep_forever>
p thr2 #=> #<Thread:0x00007fb4d7bb2ab8@(pry):2 sleep>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.