#!/usr/bin/env ruby # This code comes from http://ruby-it.org/pages/Iterare+In+Parallelo # Check the page for copyright notice and explanations for i,j in [1,2,3,4].zip([8,7,6,5]) puts i+j end 9 9 9 9