[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: ri search question

Li Chen

12/13/2006 5:15:00 PM


> You have 2 copies of the docs for File. RI can't
> differentiate gives
> you this message.
> Need to delete/hide one of the doc directories so RI
> will use the
> remaining

Hi Chris,


I search all the file.rb in my Ruby folder and delete
all of them except one. When I issue the same command
I still get the following message:


C:\>ri File.basename
More than one method matched your request. You can
refine
your search by asking for information on one of:

File::basename, File::basename


Li



____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail...

2 Answers

Chris Hulan

12/13/2006 5:35:00 PM

0



On Dec 13, 12:15 pm, chen li <chen_...@yahoo.com> wrote:
> > You have 2 copies of the docs for File. RI can't
> > differentiate gives
> > you this message.
> > Need to delete/hide one of the doc directories so RI
> > will use the
> > remainingHi Chris,
>
> I search all the file.rb in my Ruby folder and delete
> all of them except one.

ri docs are generated from the *.rb files. They usually reside
in a directory '.../doc/<lib name>/ri' near the lib. The ri files are
YAML
and have a file extension of '.yaml'

You need to find the 2 sets of ri yaml files for file and remove one

Cheers

Li Chen

12/14/2006 4:54:00 AM

0

ChrisH wrote:

> ri docs are generated from the *.rb files. They usually reside
> in a directory '.../doc/<lib name>/ri' near the lib. The ri files are
> YAML
> and have a file extension of '.yaml'
>
> You need to find the 2 sets of ri yaml files for file and remove one
>
> Cheers

It works but I have to delete the whole folder which contains the files.

Thanks,

Li


--
Posted via http://www.ruby-....