For those interested in this feature, check #7292, Marc-Andre implemented Array#to_h and Enumerable#to_h. It's not as powerful (since it takes no block, you'll usually need to create an intermediate array with "map"), but it's definitely...tokland (Arnau Sanchez)
Any decision about this? For me it's a clear +1, chunking by the values unchanged is very common (not that it's representative, but I checked my code: 4 ocurrences of chunk, all with the identity block)tokland (Arnau Sanchez)
+1, I just got bitten by this. Hash#merge returns a new object, so one should expect Set#merge to behave the same way (Principle of Least Surprise). Set#merge!, Set#update or Set#union! for in-places unions sound good to me. tokland (Arnau Sanchez)
=begin Hi, I don't know if it's polite to comment in old closed issues, excuse me if it's not. I have to say that I wholeheartedly agree with Marc-Andre: the lack of Enumerable-to-Hash conversion is important; in my experience it's an...tokland (Arnau Sanchez)