Skip to content

Instantly share code, notes, and snippets.

@markiz
Created December 13, 2012 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markiz/4276995 to your computer and use it in GitHub Desktop.
Save markiz/4276995 to your computer and use it in GitHub Desktop.
1.9.3p327 :001 > Thread.current['a'] = 1
1
1.9.3p327 :002 > Thread.current.keys
[
[0] :__recursive_key__,
[1] :a,
[2] :__awesome_print__
]
1.9.3p327 :003 > Thread.current['a'] = nil
nil
1.9.3p327 :004 > Thread.current.keys
[
[0] :__recursive_key__,
[1] :__awesome_print__
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment