[前][次][番号順一覧][スレッド一覧]

ruby-changes:12945

From: matz <ko1@a...>
Date: Fri, 28 Aug 2009 07:37:30 +0900 (JST)
Subject: [ruby-changes:12945] Ruby:r24685 (trunk): * enumerator.c (next_i): typo fixed (reached at end -> reached an

matz	2009-08-28 07:28:15 +0900 (Fri, 28 Aug 2009)

  New Revision: 24685

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24685

  Log:
    * enumerator.c (next_i): typo fixed (reached at end -> reached an
      end).  pointed out by James Edward Gray II at LoneStar RubyConf.

  Modified files:
    trunk/ChangeLog
    trunk/enumerator.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 24684)
+++ ChangeLog	(revision 24685)
@@ -1,3 +1,8 @@
+Fri Aug 28 07:25:25 2009  Yukihiro Matsumoto  <matz@r...>
+
+	* enumerator.c (next_i): typo fixed (reached at end -> reached an
+	  end).  pointed out by James Edward Gray II at LoneStar RubyConf.
+
 Thu Aug 27 18:31:07 2009  Nobuyoshi Nakada  <nobu@r...>
 
 	* vm_method.c (rb_remove_method_id): exported.
Index: enumerator.c
===================================================================
--- enumerator.c	(revision 24684)
+++ enumerator.c	(revision 24685)
@@ -581,7 +581,7 @@
     VALUE result;
 
     result = rb_block_call(obj, id_each, 0, 0, next_ii, obj);
-    e->stop_exc = rb_exc_new2(rb_eStopIteration, "iteration reached at end");
+    e->stop_exc = rb_exc_new2(rb_eStopIteration, "iteration reached an end");
     rb_ivar_set(e->stop_exc, rb_intern("result"), result);
     return rb_fiber_yield(1, &nil);
 }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]