From: Jean-Julien Fleck on
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,


--
JJ Fleck
PCSI1 Lycée Kléber

From: Ricardo Panaggio on
On Sun, Jul 25, 2010 at 07:32, Jean-Julien Fleck
<jeanjulien.fleck(a)gmail.com> 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]
$

>
> There seem to be no difference between the two proposed strings so I
> have no way to access either one of them.
>
> Cheers,
>
>
> --
> JJ Fleck
> PCSI1 Lycée Kléber
>
>

From: Jean-Julien Fleck on
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,


--
JJ Fleck
PCSI1 Lycée Kléber

From: Ryan Davis on

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

> 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 ?

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

% locate cdesc-Array.yaml | grep system


 | 
Pages: 1
Prev: syntax
Next: assign blocks to variables