Skip to content

Instantly share code, notes, and snippets.

@BitOfUniverse
Created March 28, 2019 12:12
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 BitOfUniverse/8325b355b8c1dbb01e545543ba9d028e to your computer and use it in GitHub Desktop.
Save BitOfUniverse/8325b355b8c1dbb01e545543ba9d028e to your computer and use it in GitHub Desktop.
Ruby nested hash
h = Hash.new {|h, k| h[k] = Hash.new }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment