------ art_46335_16674838.1164255618748 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 11/23/06, El Gato <wmwilson01 / gmail.com> wrote: > > > > 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 },customKlass,2] I guess it could, but for my purposes it will contain either strings or active_records or possibly a mix of either. ------ art_46335_16674838.1164255618748--