Eternity Async Tutoring

For

def find_all_pairs(hand)
  # returns an empty array for no pairs, otherwise an array with the ranks of the pairs found. cards can't be reused in multiple pairs, so 3 jacks form one pair and 4 jacks form 2 pairs.
  hand_ranks = hand_to_ranks(hand)
  # more code
end

I can’t find anything that I think would be helpful. My plan is just to use a bunch of if statements. Something like “if hand[0] = hand[1]” and do that to check for every pair. I’m going to try this way tomorrow to see if it even works but any other suggestion?