* 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

@ -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