RDoc: How to link to a method description from other rdoc page?

Hi, RDoc documentation says:

“Names of classes, source files, and any method names containing an
underscore or preceded by a hash character are automatically
hyperlinked from comment text to their description.”

However, how to link to a method definition from a README.rdoc file?
I’ve tryed everything:

MyModule::MyClass#get
[MyModule::MyClass#get]
[link:MyModule::MyClass#get]

but nothing works :frowning:

Any tip please? Thanks a lot.

2009/7/28 Iñaki Baz C. [email protected]:

 [MyModule::MyClass#get]
 [link:MyModule::MyClass#get]

Ok, it works.

However, there must be some issue with my RDoc output since I have a
module “MyModule” with a class “MyClass”. And methods of the class are
displayed as “MyModule#method” instead of
“MyModule::MyClass#method”…

Why links to classes or methods documentation cannot be hidden with
label?

The following:

Google[http://google.es]

is displayed as:

Google

But the following:

get[MyModule::Client#get]

is displayed as:

get[MyModule::Client#get]

Perhaps other bug?

On Jul 28, 2009, at 10:59, Iñaki Baz C. wrote:

Google

Perhaps other bug?

Perhaps.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs