From: marcandre-ruby-core@... Date: 2020-06-26T20:29:01+00:00 Subject: [ruby-core:98966] [Ruby master Feature#16991] Sets: add Set#join 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: