[#66126] Creation/Conversion methods/functions table for Ruby types — SASADA Koichi <ko1@...>
Hi,
5 messages
2014/11/07
[#66248] [ruby-trunk - Feature #10423] [PATCH] opt_str_lit*: avoid literal string allocations — normalperson@...
Issue #10423 has been updated by Eric Wong.
3 messages
2014/11/13
[#66595] [ruby-trunk - Bug #10557] [Open] Block not given when the argument is a string — bartosz@...
Issue #10557 has been reported by Bartosz Kopinski.
3 messages
2014/11/30
[ruby-core:66391] [ruby-trunk - Feature #10444] [Rejected] [PATCH 3/3] Vector#[] returns new vector if argument is range.
From:
ruby-core@...
Date:
2014-11-21 14:19:10 UTC
List:
ruby-core #66391
Issue #10444 has been updated by Marc-Andre Lafortune. Status changed from Feedback to Rejected gogo tanaka wrote: > But I think there is no reason `Vector[1,2,3][0..1]` returns not `Vector` but `Array`. I agree completely, and don't I think it was intended. The doc states "Returns element number +i+" too. ---------------------------------------- Feature #10444: [PATCH 3/3] Vector#[] returns new vector if argument is range. https://bugs.ruby-lang.org/issues/10444#change-50031 * Author: gogo tanaka * Status: Rejected * Priority: Normal * Assignee: Marc-Andre Lafortune * Category: lib * Target version: current: 2.2.0 ---------------------------------------- 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) add_test.patch (820 Bytes) update_NEWS.patch (736 Bytes) -- https://bugs.ruby-lang.org/