Skip to content

Instantly share code, notes, and snippets.

@tomjack
Created August 21, 2009 05:35
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save tomjack/cae3276f892d692f9017 to your computer and use it in GitHub Desktop.
>> a = {}
=> {}
>> b = {}
=> {}
>> a[:foo] = b
=> {}
>> b[:bar] = a
=> {:foo=>{:bar=>{...}}}
>> a
=> {:foo=>{:bar=>{...}}}
>> a[:foo][:bar]
=> {:foo=>{:bar=>{...}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment