Project

General

Profile

Feature #2832

Vector#each and Enumerable

Added by marcandre (Marc-Andre Lafortune) over 10 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Target version:
[ruby-core:28405]

Description

=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

Also available in: Atom PDF