Robert Klemme wrote: > Your code seems to implement something different from your wording. > Your wording says "keep only things whose name is not used by another > thing". Your code does "keep one thing per unique name". It is my code that gives the correct meaning in this case. Evidently it is more precise that English. ;-) -- Posted via http://www.ruby-forum.com/.