8000 * array.c (rb_ary_sort_bang): fix rdoc. · tenderlove/ruby@40c5061 · GitHub
[go: up one dir, main page]

Skip to content

Commit 40c5061

Browse files
committed
* array.c (rb_ary_sort_bang): fix rdoc.
patched by burningTyger. ruby#11 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 5e66733 commit 40c5061

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Fri Apr 22 12:04:15 2011 NARUSE, Yui <naruse@ruby-lang.org>
2+
3+
* array.c (rb_ary_sort_bang): fix rdoc.
4+
patched by burningTyger. https://github.com/ruby/ruby/pull/11
5+
16
Fri Apr 22 11:49:49 2011 NARUSE, Yui <naruse@ruby-lang.org>
27

38
* lib/xmlrpc/create.rb (XMLRPC::Create#conv2value):

array.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2068,8 +2068,8 @@ sort_2(const void *ap, const void *bp, void *dummy)
20682068
* <code>Enumerable#sort_by</code>.
20692069
*
20702070
* a = [ "d", "a", "e", "c", "b" ]
2071-
* a.sort #=> ["a", "b", "c", "d", "e"]
2072-
* a.sort {|x,y| y <=> x } #=> ["e", "d", "c", "b", "a"]
2071+
* a.sort! #=> ["a", "b", "c", "d", "e"]
2072+
* a.sort! {|x,y| y <=> x } #=> ["e", "d", "c", "b", "a"]
20732073
*/
20742074

20752075
VALUE

0 commit comments

Comments
 (0)
0