Project

General

Profile

Actions

Feature #2832

closed

Vector#each and Enumerable

Added by marcandre (Marc-Andre Lafortune) almost 15 years ago. Updated about 12 years ago.

Status:
Closed
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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0