# Ri odd behavior

**URL:** <https://www.ruby-forum.com/t/ri-odd-behavior/192164>\
**Category:** Ruby\
**Created:** [July 25, 2010, 12:33pm UTC](https://www.ruby-forum.com/t/ri-odd-behavior/192164 "2010-07-25T12:33:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean-Julien\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/45deac/32.png) [@Jean-Julien\_F](https://www.ruby-forum.com/u/Jean-Julien_F)\
**Post date:** [July 25, 2010, 12:33pm UTC](https://www.ruby-forum.com/t/ri-odd-behavior/192164/1 "2010-07-25T12:33:29Z")

</div>

Hello,

How would you correct this “bug” in ri ?

~\> ri Object#tap  
More than one method matched your request. You can refine  
your search by asking for information on one of:

```
Object#tap, Object#tap

```

There seem to be no difference between the two proposed strings so I  
have no way to access either one of them.

Cheers,

---

<div class="post-metadata">

**Author:** ![Jean-Julien\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/45deac/32.png) [@Jean-Julien\_F](https://www.ruby-forum.com/u/Jean-Julien_F)\
**Post date:** [July 25, 2010, 3:20pm UTC](https://www.ruby-forum.com/t/ri-odd-behavior/192164/2 "2010-07-25T15:20:52Z")

</div>

On Sun, Jul 25, 2010 at 07:32, Jean-Julien F.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hello,
> 
> How would you correct this “bug” in ri ?
> 
> ~\> ri Object#tap  
> More than one method matched your request. You can refine  
> your search by asking for information on one of:
> 
> Object#tap, Object#tap

Trunk is ok. I’ve tested it here and it doesn’t show that bug.

Could you send the ruby version you’re using, so that this can be  
tracked?

$ ruby -v  
ruby 1.9.3dev (2010-07-21 trunk 28695) [x86\_64-linux]  
$

---

<div class="post-metadata">

**Author:** ![Jean-Julien\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/45deac/32.png) [@Jean-Julien\_F](https://www.ruby-forum.com/u/Jean-Julien_F)\
**Post date:** [July 25, 2010, 5:03pm UTC](https://www.ruby-forum.com/t/ri-odd-behavior/192164/3 "2010-07-25T17:03:17Z")

</div>

Hello,

> Could you send the ruby version you’re using, so that this can be tracked?
> 
> $ ruby -v  
> ruby 1.9.3dev (2010-07-21 trunk 28695) [x86\_64-linux]

Sure:

~\>ruby -v  
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]

Could it be some installed gem that override the Object#tap method and  
confuse ri ?

Thanks,

---

<div class="post-metadata">

**Author:** ![Jean-Julien\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/45deac/32.png) [@Jean-Julien\_F](https://www.ruby-forum.com/u/Jean-Julien_F)\
**Post date:** [July 26, 2010, 2:19am UTC](https://www.ruby-forum.com/t/ri-odd-behavior/192164/4 "2010-07-26T02:19:21Z")

</div>

On Jul 25, 2010, at 08:02 , Jean-Julien F. wrote:

> ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
> 
> Could it be some installed gem that override the Object#tap method and  
> confuse ri ?

you have 2 installs of the rdoc/ri info. Do this:

% locate cdesc-Array.yaml | grep system
