# Supressing RDoc links

**URL:** <https://www.ruby-forum.com/t/supressing-rdoc-links/116590>\
**Category:** Ruby\
**Created:** [October 7, 2007, 6:50pm UTC](https://www.ruby-forum.com/t/supressing-rdoc-links/116590 "2007-10-07T18:50:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![noagenda](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/8c91f0/32.png) [@noagenda](https://www.ruby-forum.com/u/noagenda)\
**Post date:** [October 7, 2007, 6:50pm UTC](https://www.ruby-forum.com/t/supressing-rdoc-links/116590/1 "2007-10-07T18:50:08Z")

</div>

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.

> **[James Mead](https://jamesmead.org/)**
>
> Ruby Developer, author of Mocha, and ex-Antarctic Hero.

> **[Floehopper](https://tumble.floehopper.org/)**
>
> thoughts on the bergy bits of life

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

---

<div class="post-metadata">

**Author:** ![noagenda](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/8c91f0/32.png) [@noagenda](https://www.ruby-forum.com/u/noagenda)\
**Post date:** [October 7, 2007, 9:53pm UTC](https://www.ruby-forum.com/t/supressing-rdoc-links/116590/2 "2007-10-07T21:53:53Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![noagenda](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/8c91f0/32.png) [@noagenda](https://www.ruby-forum.com/u/noagenda)\
**Post date:** [October 8, 2007, 9:36am UTC](https://www.ruby-forum.com/t/supressing-rdoc-links/116590/3 "2007-10-08T09:36:58Z")

</div>

Thanks.
