I am documenting ruby code right now. We have two classes that have a method called "host".
In one of these classes, the method needs special comments. In another class, I would like to refer to the first class, and this link will be a link to it.
Usually in rdoc to enter a link, just enter the name of the method. In this case, even if I write Class::SubClass.host, the link still insists on pointing to the method in the current class.
Any rdoc wizards know how to do this?
Here is an example in FakeTown::Apiwhere I want to reference a method RealTown::Api #host:
def host
uri = URI.parse url
uri.host
end
The link created by rdoc is uselessly associated with the method #hostin this document.
Thank!
Ziggy source
share