Supressing RDoc links

I recently noticed some anomalies in the Mocha RDoc. Within a method
RDoc
comment, any word that happens to be the same as a method in the same
class
gets turned into a link. You can see an example [2] with the word “once”
and
another [3] with the words “yields”, “times” and “with”.

Does anyone know how to stop these words incorrectly being made into
hyper-links…?

Thanks.

James.
http://blog.floehopper.org

[1] http://mocha.rubyforge.org
[2] http://mocha.rubyforge.org/classes/Mocha/Expectation.html#M000021
[3] http://mocha.rubyforge.org/classes/Mocha/Expectation.html#M000026

On Oct 7, 2007, at 09:47 , James M. wrote:

I recently noticed some anomalies in the Mocha RDoc. Within a
method RDoc
comment, any word that happens to be the same as a method in the
same class
gets turned into a link. You can see an example [2] with the word
“once” and
another [3] with the words “yields”, “times” and “with”.

Does anyone know how to stop these words incorrectly being made into
hyper-links…?

Currently it is not possible.

Thanks.

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