Actions
Feature #16991
closedSets: add Set#join
Status:
Closed
Assignee:
-
Target version:
-
Description
I'd like to add #join
to Set
:
# 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
Actions
Like0
Like0Like0