From: Paul Lutus Date: 2006-12-04T16:50:06+09:00 Subject: Re: FastRI, handling identical class names and methods Daniel Berger wrote: > Hi, > > FastRI 0.2.1 > Ruby 1.8.5 > Windows XP > > With FastRI (or rather, fri) how do you distinguish a lookup on classes > with identical names and methods (and no namespace to distinguish them)? > > For example, I have the Pathname class from the stdlib and my own > Pathname class from the 'pathname2' package. If I do 'fri > Pathname#descend' I get the documentation from the Pathname class in the > stdlib instead of my own. Is there a way to force the issue? Yes, there is. The best solution is to give your own class a different name. It is not a good idea to use an existing class name for your own classes. -- Paul Lutus http://www.arachnoid.com