From: zdennis Date: 2005-11-07T13:07:25+09:00 Subject: Re: Access control and class methods gwtmp01@mac.com wrote: > > On Nov 6, 2005, at 9:47 AM, Mads Kristensen wrote: > >> And BTW: what does class<> inheritance but what does it mean when there are two? > > > One of the early hurdles I had with Ruby was trying to map > the "class < not sure why "<<" was selected. The semantics and syntax > don't seem to be related to those of the "<<" operator and > so you really need to form two separate mental models and just > know which one applies. > > Why not something like: > > class obj.eclass > # > end Once you know what << does, there is no confusion. I suspect the same would be with your proposed code above. By looking at it, I am confused, but once I know what it means, there is no more confusion. Zach