What is the "ruby-ish" way of creating a new instance of a class with parameters from multiple arrays, at the same index location in the arrays?
For example, I'm currently doing:
array1.each_with_index { |element, i|
MyClass(element, array2[i], array3[i], array4[i])
}
This works fine, but I don't feel this is ruby-ish. Is there another way to do this in Ruby?
-- Derek