diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-22 09:47:56 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-22 09:47:56 +0000 |
commit | 81e2c9e10d547e016bbe1b95f118bb09bc65bbd4 (patch) | |
tree | 83393660de47860086cf04fcc2880fe84fc64296 | |
parent | 32c10534e2f4e45b6e34db2b2595db4d096ca4d1 (diff) |
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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | string.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Fri Feb 6 02:51:59 2009 Yukihiro Matsumoto <matz@ruby-lang.org> + + * 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@tsg.ne.jp> * cont.c (cont_mark, cont_capture, cont_restore_1): use #else instead @@ -5703,7 +5703,7 @@ rb_str_each_char(VALUE str) * 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] */ /* |