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

ruby-changes:13313

From: marcandre <ko1@a...>
Date: Fri, 25 Sep 2009 03:25:52 +0900 (JST)
Subject: [ruby-changes:13313] Ruby:r25076 (ruby_1_8): * hash.c (rehash doc): doc fix

marcandre	2009-09-25 03:25:39 +0900 (Fri, 25 Sep 2009)

  New Revision: 25076

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

  Log:
    * hash.c (rehash doc): doc fix [ruby-core:23628]

  Modified files:
    branches/ruby_1_8/hash.c

Index: ruby_1_8/hash.c
===================================================================
--- ruby_1_8/hash.c	(revision 25075)
+++ ruby_1_8/hash.c	(revision 25076)
@@ -427,7 +427,7 @@
  *  values of key objects have changed since they were inserted, this
  *  method will reindex <i>hsh</i>. If <code>Hash#rehash</code> is
  *  called while an iterator is traversing the hash, an
- *  <code>IndexError</code> will be raised in the iterator.
+ *  <code>RuntimeError</code> will be raised in the iterator.
  *
  *     a = [ "a", "b" ]
  *     c = [ "c", "d" ]

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

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