From 81e2c9e10d547e016bbe1b95f118bb09bc65bbd4 Mon Sep 17 00:00:00 2001 From: yugui Date: Sun, 22 Feb 2009 09:47:56 +0000 Subject: 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 --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.c') diff --git a/string.c b/string.c index 236980e25b..c3b47fb47b 100644 --- a/string.c +++ b/string.c @@ -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] */ /* -- cgit v1.2.3