Issue #5411 has been updated by b t.

File 0001-change-Enumerable-group_by-description.patch added

I find the new group_by more confusing now and changed it to this:


 *  Groups the collection by result of the block.  Returns a hash where the
 *  keys are the evaluated result from the block and the values are
 *  arrays of elements in the collection that correspond to the key.
 *
 *  If no block is given an enumerator is returned.
 *
 *     (1..6).group_by { |i| i%3 }   #=> {0=>[3, 6], 1=>[1, 4], 2=>[2, 5]}

Do you agree. I mean it's still not perfect but that double value sentence didn't make sense to me.

BTW, how do I properly sign my stuff? Redmine/svn patches don't support the usual git signatures. If possible I'd like to sign my stuff with my github nick burningTyger

Thank you for reviewing

----------------------------------------
Bug #5411: Some enum.c doc tweaks
http://redmine.ruby-lang.org/issues/5411

Author: b t
Status: Closed
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version: 1.9.x
ruby -v: --


I tried to fix some of the method descriptions and made. Please check group_by if this is any better than the original version. I had trouble finding a concise description.

Thanks for reviewing.


-- 
http://redmine.ruby-lang.org