Project

General

Profile

Actions

Feature #10444

closed

[PATCH 3/3] Vector#[] returns new vector if argument is range.

Added by gogotanaka (Kazuki Tanaka) over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Normal
Target version:
[ruby-core:65984]

Description

Hi, it's incompatible change little bit.

Before

Vector[1,2,3][0..1]
=> [1, 2]

After

Vector[1,2,3][0..1]
=> Vector[1, 2]

I'm not in a hurry. Take your time.


Files

implement_matrix.rb.patch (1.3 KB) implement_matrix.rb.patch gogotanaka (Kazuki Tanaka), 10/29/2014 08:13 AM
add_test.patch (820 Bytes) add_test.patch gogotanaka (Kazuki Tanaka), 10/29/2014 08:13 AM
update_NEWS.patch (736 Bytes) update_NEWS.patch gogotanaka (Kazuki Tanaka), 10/29/2014 08:13 AM
Actions

Also available in: Atom PDF