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
Currently it is not possible.
···
On Oct 7, 2007, at 09:47 , James Mead 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...?
--
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars