Advertisement
Guest User

Untitled

a guest
Aug 15th, 2012
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. left_arr.each do |left_hash|
  2.   right_arr.each do |right_hash|
  3.     if left_hash[key] == right_hash[key]
  4.       # Do something
  5.     end
  6.   end
  7. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement