shortened hole5

I was stuck with (1..v.size).map{|i| [*v.each_cons(i)]}.flatten 1
Then Rob Miller's gist reminded me of flat_map :D