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

* array.c (rb_ary_sort_bang): fix rdoc.

patched by burningTyger. https://github.com/ruby/ruby/pull/11

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2011-04-22 03:05:32 +00:00
parent c853e2d86e
commit 4e04749516
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Fri Apr 22 12:04:15 2011 NARUSE, Yui <naruse@ruby-lang.org>
* array.c (rb_ary_sort_bang): fix rdoc.
patched by burningTyger. https://github.com/ruby/ruby/pull/11
Fri Apr 22 11:49:49 2011 NARUSE, Yui <naruse@ruby-lang.org>
* lib/xmlrpc/create.rb (XMLRPC::Create#conv2value):

View file

@ -2068,8 +2068,8 @@ sort_2(const void *ap, const void *bp, void *dummy)
* <code>Enumerable#sort_by</code>.
*
* a = [ "d", "a", "e", "c", "b" ]
* a.sort #=> ["a", "b", "c", "d", "e"]
* a.sort {|x,y| y <=> x } #=> ["e", "d", "c", "b", "a"]
* a.sort! #=> ["a", "b", "c", "d", "e"]
* a.sort! {|x,y| y <=> x } #=> ["e", "d", "c", "b", "a"]
*/
VALUE