summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--string.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c2bb94b3cf..c20d5158fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
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]
*/
/*