summaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-22 09:47:56 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-22 09:47:56 +0000
commitc1c2a8d4c8a5136cbf4abb350b060ffdf48c982a (patch)
tree83393660de47860086cf04fcc2880fe84fc64296 /string.c
parentc8af8515567dc40400771905a03e019587412caf (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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22515 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 236980e25..c3b47fb47 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]
*/
/*