Feature #5970
open
Add Enumerable#join with same semantics as Array#join
Added by now (Nikolai Weibull) almost 13 years ago.
Updated almost 7 years ago.
Description
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.
Files
- Status changed from Open to Assigned
- Assignee set to matz (Yukihiro Matsumoto)
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]).
- Target version changed from 2.0.0 to 2.6
- Target version deleted (
2.6)
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0