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

* 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
This commit is contained in:
kazu 2009-02-03 07:36:55 +00:00
parent 22f6e2e771
commit 2b692644d9
3 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Tue Feb 3 16:36:06 2009 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* array.c (rb_ary_sort_by_bang): RDoc update.
* NEWS: add Array#sort_by!.
Tue Feb 3 16:23:16 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/lib/socket.rb (Socket.tcp_server_sockets_port0): new

3
NEWS
View file

@ -13,6 +13,9 @@ with all sufficient information, see the ChangeLog file.
* builtin classes
* Array
* Array#sort_by!
* IO
* IO.pipe takes a block.

View file

@ -1853,8 +1853,8 @@ sort_by_i(VALUE i)
* call-seq:
* array.sort_by! {| obj | block } -> array
*
* Sorts <i>enum</i> in place using a set of keys generated by mapping the
* values in <i>enum</i> through the given block.
* Sorts <i>array</i> in place using a set of keys generated by mapping the
* values in <i>array</i> through the given block.
*/
static VALUE