Snippets has posted 5883 posts at DZone. View Full User Profile
// Iterate two arrays simultaneously in Ruby
array1.zip(array2).each do |v1, v2|
# iterates over array1 and array2
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...