From: "Chr. Rippel" Date: 2002-01-01T23:44:31+09:00 Subject: [ruby-talk:29957] Re: Ruby multi-dimensional Hash question?---Any one out there willing to give this questions a try? "ts" wrote > C> t = MyHash.new > > C> t[0][1] = 2 > > C> p t[0][1] # => 2 > > t[1][0] = 4 > p t[0] > p t[1] > Also p t # => {} p t[1][0] # => 4 p t[0][1] # => 2 i.e. you also have to redefine MyHash#inspect, MyHash#keys etc. /Christoph