> Of course this would be much simpler if we were redefining Array#== > with this algorythm (there would be no need to check #kind_of?) but I > really DON'T want to know what could happen by redefining Array#==, > since every library could rely on it :P > (Actually, it might be funny to find out) So... err... can the Array contain Hashes or other Objects as well??? This could get pretty tough, eh? [1,4,nil,{:foo => 1, :bar =>2},customKlass,2] -- Posted via http://www.ruby-forum.com/.