From: Florian Weingarten Date: 2009-06-19T23:30:07+09:00 Subject: Re: hash of hash? Jeroen Lodewijks wrote: > class Hashhash > ... > end > > out = ah["T"][9] > ... > test.rb:5: undefined method `[]' for # Hi Jeroen, I think you have to explicitly define a [] method for your class (and a []= method, if you want to write values with this syntax too). Flo