ruby-changes:10939
From: yugui <ko1@a...>
Date: Sun, 22 Feb 2009 18:48:09 +0900 (JST)
Subject: [ruby-changes:10939] Ruby:r22515 (ruby_1_9_1): merges r22083 from trunk into ruby_1_9_1.
yugui 2009-02-22 18:47:56 +0900 (Sun, 22 Feb 2009) New Revision: 22515 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22515 Log: merges r22083 from trunk into ruby_1_9_1. * string.c (rb_str_each_codepoint): update RDoc for String#codepoints. a patch from Radoslaw Bulat in [ruby-core:21835] Modified files: branches/ruby_1_9_1/ChangeLog branches/ruby_1_9_1/string.c Index: ruby_1_9_1/ChangeLog =================================================================== --- ruby_1_9_1/ChangeLog (revision 22514) +++ ruby_1_9_1/ChangeLog (revision 22515) @@ -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: ruby_1_9_1/string.c =================================================================== --- ruby_1_9_1/string.c (revision 22514) +++ ruby_1_9_1/string.c (revision 22515) @@ -5703,7 +5703,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/