[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Re: method/constant links in rdoc

Eric Mahurin

5/18/2005 1:14:00 AM

--- Joel VanderWerf <vjoel@path.berkeley.edu> wrote:
> Eric Mahurin wrote:
> > Anybody know if in rdoc I can create links to certain
> > methods/constants in modules/classes? I would like to
> refer to
> > another method (and some constants) when desribing a
> method.
>
> Aren't methods just referred to using FooClass#bar_method ?
> And, IIRC,
> FooClass should generate a link to the class.

Yep, that works. Also #bar_method works in the current class.
I thought I tried it. Guess not. I found other mark up stuff
in the rdoc docs but not this. Maybe I missed it.

It doesn't look like I can link to the constants in a
class/module though. Oh well.

Thanks...





__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.co...