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:
yugui 2009-02-22 09:47:56 +00:00
parent 32c10534e2
commit 81e2c9e10d
2 changed files with 7 additions and 1 deletions

View file

@ -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]
*/
/*