[#3006] CVS repository — "Eugene Scripnik" <hoaz@...>

Hello.

21 messages 2004/06/16
[#3008] Re: CVS repository — ts <decoux@...> 2004/06/16

>>>>> "E" == Eugene Scripnik <hoaz@gala.net> writes:

[#3009] Re: CVS repository — Michal Rokos <michal@...> 2004/06/16

Hi!

[#3057] Ruby 1.8.2 to be released. — matz@... (Yukihiro Matsumoto)

Hi,

20 messages 2004/06/23

Enumerable#each_with_index in "ri"

From: Johan Holmberg <holmberg@...>
Date: 2004-06-12 15:22:48 UTC
List: ruby-core #2977
The description in "ri" of the return value of
Enumerable#each_with_index seem to be incorrect.
How about applying the following change ?

/Johan Holmberg

---------------------------------------------------------
--- enum.c.orig	2004-04-14 06:06:24.000000000 +0200
+++ enum.c	2004-06-12 16:59:26.000000000 +0200
@@ -806,7 +806,7 @@

 /*
  *  call-seq:
- *     enum.each_with_index {|obj, i| block }  -> nil
+ *     enum.each_with_index {|obj, i| block }  -> enum
  *
  *  Calls <em>block</em> with two arguments, the item and its index, for
  *  each item in <i>enum</i>.
---------------------------------------------------------


In This Thread

Prev Next