Issue #7226 has been reported by nathan.f77 (Nathan Broadbent). ---------------------------------------- Feature #7226: Added #join method as a shortcut for to_a.join https://bugs.ruby-lang.org/issues/7226 Author: nathan.f77 (Nathan Broadbent) Status: Open Priority: Normal Assignee: Category: lib Target version: I was surprised that `Set.new.join` gives me a NoMethodError. This patch that adds a #join method to Set, which is a shortcut for `to_a.join`.
on 2012-10-27 22:38
on 2012-10-27 22:46
Issue #7226 has been updated by nathan.f77 (Nathan Broadbent). File add_join_to_set.patch added Sorry, previous patch contained a typo. Here's an updated patch. ---------------------------------------- Feature #7226: Added #join method as a shortcut for to_a.join https://bugs.ruby-lang.org/issues/7226#change-31829 Author: nathan.f77 (Nathan Broadbent) Status: Open Priority: Normal Assignee: Category: lib Target version: I was surprised that `Set.new.join` gives me a NoMethodError. This patch that adds a #join method to Set, which is a shortcut for `to_a.join`.
on 2012-11-06 22:33
Issue #7226 has been updated by ayumin (Ayumu AIZAWA). Assignee set to matz (Yukihiro Matsumoto) Target version set to next minor ---------------------------------------- Feature #7226: Added #join method as a shortcut for to_a.join https://bugs.ruby-lang.org/issues/7226#change-32516 Author: nathan.f77 (Nathan Broadbent) Status: Open Priority: Normal Assignee: matz (Yukihiro Matsumoto) Category: lib Target version: next minor I was surprised that `Set.new.join` gives me a NoMethodError. This patch that adds a #join method to Set, which is a shortcut for `to_a.join`.
on 2012-11-07 13:56
Issue #7226 has been updated by rosenfeld (Rodrigo Rosenfeld Rosas). +1. I was about to create the same feature request some weeks ago when I tried to join a set but was too lazy to do so :) ---------------------------------------- Feature #7226: Added #join method as a shortcut for to_a.join https://bugs.ruby-lang.org/issues/7226#change-32557 Author: nathan.f77 (Nathan Broadbent) Status: Open Priority: Normal Assignee: matz (Yukihiro Matsumoto) Category: lib Target version: next minor I was surprised that `Set.new.join` gives me a NoMethodError. This patch that adds a #join method to Set, which is a shortcut for `to_a.join`.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.