Issue #16991 has been reported by marcandre (Marc-Andre Lafortune).

----------------------------------------
Feature #16991: Sets: add Set#join
https://bugs.ruby-lang.org/issues/16991

* Author: marcandre (Marc-Andre Lafortune)
* Status: Open
* Priority: Normal
----------------------------------------
I'd like to add `#join` to `Set`:

```ruby
# Now:
Set[1, 2, 3].join('x') # => NoMethodError
# After
Set[1, 2, 3].join('x') # => "1x2x3"
```

I'd make this join never recursive. (I've never wanted to use the recursivity of `Array#join`, but it may very well just be my particular experience)

Reminder: Why there is no `Enumerable#join`: https://bugs.ruby-lang.org/issues/1893



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

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>