From: "marcandre (Marc-Andre Lafortune)" Date: 2012-11-24T12:06:26+09:00 Subject: [ruby-core:49985] [ruby-trunk - Feature #2832][Closed] Vector#each and Enumerable Issue #2832 has been updated by marcandre (Marc-Andre Lafortune). Status changed from Assigned to Closed Right, let's close this. I still think that Vector#map & select be covariant, and I'll change them if ever there's a request to second that. ---------------------------------------- Feature #2832: Vector#each and Enumerable https://bugs.ruby-lang.org/issues/2832#change-33754 Author: marcandre (Marc-Andre Lafortune) Status: Closed Priority: Normal Assignee: marcandre (Marc-Andre Lafortune) Category: lib Target version: next minor =begin Vector should implement #each and include Enumerable, since it is so Array-like. Enumerable methods that return an array should probably be specialized to return a Vector (e.g. map, first, ...) See also [ruby-core:28403], [redmine:2831] =end -- http://bugs.ruby-lang.org/