summaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-05 17:53:26 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-05 17:53:26 +0000
commita372f53d7630a17b8b5b68ccead0190369d9892a (patch)
treef6170710c851f02519ce6f00bebf10876e7ea8af /string.c
parente30b81c0aba05326dc1e0ab9843b198128747310 (diff)
downloadruby-a372f53d7630a17b8b5b68ccead0190369d9892a.tar.gz
ruby-a372f53d7630a17b8b5b68ccead0190369d9892a.tar.xz
ruby-a372f53d7630a17b8b5b68ccead0190369d9892a.zip
* string.c (rb_str_each_codepoint): update RDoc for
String#codepoints. a patch from Radoslaw Bulat in [ruby-core:21835] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index ca06bf725..802e9379b 100644
--- a/string.c
+++ b/string.c
@@ -5750,7 +5750,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]
*/
/*