From: Malte Milatz Date: 2005-12-10T03:37:35+09:00 Subject: Re: Build array of possible combinations Timo Hoepfner: > assert_equal(true, set_of_sets.include?(contained_set)) Interesting: irb> [ 'a', 'b' ].to_set.eql? [ 'a', 'b' ].to_set => false irb> [ 'a', 'b' ].to_set == [ 'a', 'b' ].to_set => true So Set#== and Set#eql? behave differently. Malte