From: ts Date: 2003-04-14T22:25:33+09:00 Subject: Re: [Q] A class, that knows about it's instances + Sets >>>>> "K" == KONTRA Gergely writes: K> I except MyClass.instances to give me an array [a,b] K> Or I would be happy, if I can do K> MyClass.each{|a| ... } Look at ObjectSpace::each_object K> Has ruby a set type? 1.8 has a library set.rb Guy Decoux