зеркало из https://github.com/github/ruby.git
* 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:
Родитель
22f6e2e771
Коммит
2b692644d9
|
@ -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
3
NEWS
|
@ -13,6 +13,9 @@ with all sufficient information, see the ChangeLog file.
|
|||
|
||||
* builtin classes
|
||||
|
||||
* Array
|
||||
* Array#sort_by!
|
||||
|
||||
* IO
|
||||
* IO.pipe takes a block.
|
||||
|
||||
|
|
4
array.c
4
array.c
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче