From: Michael Neumann Date: 2004-12-14T02:25:45+09:00 Subject: Re: Hash freezes String keys are returns copy ts wrote: >>>>>>"M" == Michael Neumann writes: > > > M> Is this intended behaviour? > > What do you do in this case ? > > a = "test" > hash[a] = "test" > a[0] = "m" > p hash.keys But why does this work: a = [] hash[a] = "test" a[0] = "1" p hash.keys # => returns [ ["1"] ] Regards, Michael