Set#merge


#1

Can anybody explain why Set#merge is destructive, but Hash#merge is not?


#2

Joel VanderWerf wrote:

Can anybody explain why Set#merge is destructive, but Hash#merge is not?

Probably the same reason that Array#delete is destructive, but
String#delete is not.

Regards,
Stefan