Skip to content

Instantly share code, notes, and snippets.

@hinrik
Created December 31, 2016 15:16
hash = {} of String => Hash(Int32, Int32) # | Hash(String, Hash(Int32, Int32))
hash["foo"] = {} of Int32 => Int32
hash["foo"][1] = 4
#hash["bar"]["baz"] = {} of Int32 => Int32
#hash["bar"]["baz"][1] = 4
puts hash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment