mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
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
This commit is contained in:
parent
32c10534e2
commit
81e2c9e10d
2 changed files with 7 additions and 1 deletions
2
string.c
2
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]
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue