Issue #2832 has been updated by Marc-Andre Lafortune.


I'm probably crazy, and I must be the only one wishing this, but I wish that #collect was used to collect elements (and always returned an array), while #map was used to map an object by applying a functor to its element (and returned the original class when possible, like Set, Matrix, ...)

----------------------------------------
http://redmine.ruby-lang.org/issues/show/2832

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