From: Ara.T.Howard@... Date: 2005-05-05T02:44:58+09:00 Subject: Re: [RCR] Object#inside_metaclass? On Wed, 4 May 2005, Martin DeMello wrote: > Ara.T.Howard wrote: >> >> >> i believe the implementaion is correct iff the following statement is true: >> >> all meta-classes descend from the meta-class of Object. > > That's a very neat approach. Much more satisfying than string-scraping. the only problem is that is doesn't work !! ;-( i had another definition in scope in irb when i tested - so sorry. i'm back to this now, it's the best i can manange attm: class Class def inside_metaclass? inspect =~ %r/^#