infinite depth #1

ninjudd opened this Issue Jul 7, 2011 · 2 comments


None yet
3 participants

ninjudd commented Jul 7, 2011

What are your thoughts on a patch to support arbitrarily deep hashs by making the depth default to nil?

h = Hash.deep
h[1][2][3][4][5][6][7][8][9][10] = :foo

cespare was assigned Jul 7, 2011

bkad commented Jul 7, 2011

i like the cut of your jib


cespare commented Jul 7, 2011

I like it -- implemented in a510bb3.

I also pushed version 0.0.2 of the gem with this change.

cespare closed this Jul 7, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment