From: MonkeeSage Date: 2007-11-24T15:55:00+09:00 Subject: Re: Hashes, Sets, and eql? Hi Aaron, Set#eql? is probably just Object#eql?, which, as I understand it would compare the actual objects (not their contents). What you want is a "shallow" comparison (==). irb(main):002:0> require 'set' => true irb(main):003:0> a = Set.new([1,2]) => # irb(main):004:0> b = Set.new([1,2]) => # irb(main):005:0> a == b => true Regards, Jordan