A question - is there an object in Ruby analogous to a Java set, which
has hash-like functionality but no values?
Or should I just use a hash with no values?
Actually, what I’m really trying to do is “unique-ize” an array based
on a particular attribute of each of it’s members. My plan was to read
the unique attribute values into a hash as they come up and compare new
array member’s attributes against that hash.
I bet there’s a very cool way to do it - if anyone knows and would
like to share, I am all ears.