Issue #5970 has been updated by shugo (Shugo Maeda).


now (Nikolai Weibull) wrote:
> Currently, to join the elements of an Enumerable, you need to call #to_a on the Enumerable and then #join the result.  With Enumerable#join one wouldn???t need need to create an intermediate Array.

Once Enumerable#join had been added, and was removed later.  See Bug #1893 ([ruby-core:24786]).

----------------------------------------
Feature #5970: Add Enumerable#join with same semantics as Array#join
https://bugs.ruby-lang.org/issues/5970#change-25457

Author: now (Nikolai Weibull)
Status: Assigned
Priority: Normal
Assignee: matz (Yukihiro Matsumoto)
Category: core
Target version: 2.0.0


Currently, to join the elements of an Enumerable, you need to call #to_a on the Enumerable and then #join the result.  With Enumerable#join one wouldn???t need need to create an intermediate Array.



-- 
http://bugs.ruby-lang.org/