Skip to content

Commit 2b69264

Browse files
committed
* NEWS: add Array#sort_by!.
* array.c (rb_ary_sort_by_bang): RDoc update. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 22f6e2e commit 2b69264

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Tue Feb 3 16:36:06 2009 Kazuhiro NISHIYAMA <[email protected]>
2+
3+
* array.c (rb_ary_sort_by_bang): RDoc update.
4+
5+
* NEWS: add Array#sort_by!.
6+
17
Tue Feb 3 16:23:16 2009 Tanaka Akira <[email protected]>
28

39
* ext/socket/lib/socket.rb (Socket.tcp_server_sockets_port0): new

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ with all sufficient information, see the ChangeLog file.
1313

1414
* builtin classes
1515

16+
* Array
17+
* Array#sort_by!
18+
1619
* IO
1720
* IO.pipe takes a block.
1821

array.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1853,8 +1853,8 @@ sort_by_i(VALUE i)
18531853
* call-seq:
18541854
* array.sort_by! {| obj | block } -> array
18551855
*
1856-
* Sorts <i>enum</i> in place using a set of keys generated by mapping the
1857-
* values in <i>enum</i> through the given block.
1856+
* Sorts <i>array</i> in place using a set of keys generated by mapping the
1857+
* values in <i>array</i> through the given block.
18581858
*/
18591859

18601860
static VALUE

0 commit comments

Comments
 (0)