From: Michel Demazure Date: 2010-10-11T19:05:11+09:00 Subject: Re: Testing for subarrays Jes炭s Gabriel y Gal叩n wrote: > a.each_cons(b.size).to_a.index(b) Yes ! _md -- Posted via http://www.ruby-forum.com/.