Like its more common cousins, the black rat snake and the yellow rat snake, the rainbow rat snake eats rats, birds, and golf balls.