1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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/trunk@22083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2009-02-05 17:53:26 +00:00
parent bbb8603286
commit 68ac487d19
2 changed files with 7 additions and 1 deletions

View file

@ -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

View file

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