https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112012-03-30T00:46:27ZRuby Issue Tracking SystemRuby master - Feature #5970: Add Enumerable#join with same semantics as Array#joinhttps://bugs.ruby-lang.org/issues/5970?journal_id=253842012-03-30T00:46:27Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>matz (Yukihiro Matsumoto)</i></li></ul> Ruby master - Feature #5970: Add Enumerable#join with same semantics as Array#joinhttps://bugs.ruby-lang.org/issues/5970?journal_id=254572012-03-30T17:02:10Zshugo (Shugo Maeda)
<ul></ul><p>now (Nikolai Weibull) wrote:</p>
<blockquote>
<p>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.</p>
</blockquote>
<p>Once Enumerable#join had been added, and was removed later. See Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Recursive Enumerable#join is surprising (Closed)" href="https://bugs.ruby-lang.org/issues/1893">#1893</a> (<a href="/issues/1893">[ruby-core:24786]</a>).</p> Ruby master - Feature #5970: Add Enumerable#join with same semantics as Array#joinhttps://bugs.ruby-lang.org/issues/5970?journal_id=318472012-10-28T12:25:40Zshugo (Shugo Maeda)
<ul><li><strong>Target version</strong> changed from <i>2.0.0</i> to <i>2.6</i></li></ul> Ruby master - Feature #5970: Add Enumerable#join with same semantics as Array#joinhttps://bugs.ruby-lang.org/issues/5970?journal_id=330692012-11-19T08:26:59Zzzak (zzak _)
<ul><li><strong>File</strong> <a href="/attachments/3262">enumerable_join.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3262/enumerable_join.patch">enumerable_join.patch</a> added</li></ul><p>Adding Greg Sterndale's patch from github:<br>
<a href="https://github.com/ruby/ruby/pull/97" class="external">https://github.com/ruby/ruby/pull/97</a></p> Ruby master - Feature #5970: Add Enumerable#join with same semantics as Array#joinhttps://bugs.ruby-lang.org/issues/5970?journal_id=687482017-12-25T18:15:03Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Target version</strong> deleted (<del><i>2.6</i></del>)</li></ul>