Card Check In Ruby