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

ruby-changes:10529

From: matz <ko1@a...>
Date: Fri, 6 Feb 2009 02:53:41 +0900 (JST)
Subject: [ruby-changes:10529] Ruby:r22083 (trunk): * string.c (rb_str_each_codepoint): update RDoc for

matz	2009-02-06 02:53:26 +0900 (Fri, 06 Feb 2009)

  New Revision: 22083

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

  Log:
    * string.c (rb_str_each_codepoint): update RDoc for
      String#codepoints.  a patch from Radoslaw Bulat in
      [ruby-core:21835]

  Modified files:
    trunk/ChangeLog
    trunk/string.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 22082)
+++ ChangeLog	(revision 22083)
@@ -1,3 +1,9 @@
+Fri Feb  6 02:51:59 2009  Yukihiro Matsumoto  <matz@r...>
+
+	* string.c (rb_str_each_codepoint): update RDoc for
+	  String#codepoints.  a patch from Radoslaw Bulat in
+	  [ruby-core:21835]
+
 Fri Feb  6 01:09:13 2009  Yusuke Endoh  <mame@t...>
 
 	* cont.c (cont_mark, cont_capture, cont_restore_1): use #else instead
Index: string.c
===================================================================
--- string.c	(revision 22082)
+++ string.c	(revision 22083)
@@ -5750,7 +5750,7 @@
  *  when applied to Unicode strings. If a block is given, it iterates
  *  over each character in the string.
  *     
- *     "foo\u0635".chars.to_a   #=> [102, 111, 111, 1589]
+ *     "foo\u0635".codepoints.to_a   #=> [102, 111, 111, 1589]
  */
 
 /*

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

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