Daniel Berger
12/4/2006 12:27:00 PM
Paul Lutus wrote:
> 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.
My class is meant as a replacement for the one in the stdlib.
- Dan