From: Gavin Sinclair Date: 2002-08-04T23:31:28+09:00 Subject: Re: Assoc Class (Hash Pairs) ----- Original Message ----- From: "Tom Sawyer" > > i think i understand what your getting at. > > but on particulars, there is such a thing as ArrayElement. it is called > Object. for an array's elements are objects (100% O), while a hashes are > not. rather they are some sort of syntatical-construct-of-association > between two objects (nil-O) > Hashes don't have "elements". They map Objects to Objects. That is their interface; that is what they are. "Map" is an English-language term used in documentation to describe the function of a Hash. You can iterate over the "mappings", and you are given the Objects contained therein. Hashes are no more, and no less, object-oriented than Arrays. Cheers, Gavin