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.
[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