So I thought this would be pretty basic but I'm having no luck in finding out whether an object with the same attributes as one within an array is in fact in the array. The below code returns false:
hand = [Card.new(:ace)]
puts("#{hand.include?(Card.new(:ace))}")
yet I can't see how I can check if the card in the hand array has the same contents of the card I provide in the include? argument.