Can anybody explain why Set#merge is destructive, but Hash#merge is not?
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