From: Rick DeNatale Date: 2006-09-05T08:13:11+09:00 Subject: Re: Does an instance know his own name? On 9/4/06, marinho.tobolla@syncity.de wrote: > I think the problem with an instance knowing his own name is the possibility of an instance having more than one name. How whould the instance now, which name you want ? The object id on the other hand is afaik sort of unique. Yep. For those old enough, and American enough to remember the comic Bill Saluga. # You can call Nephew.new... Ray = Jay = Johnny = Sonny = RayJay = RJ = Nephew.new # but ya doesn't hafta call it Johnson -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/