From: "Jethrow .." Date: 2010-10-17T12:27:54+09:00 Subject: Re: help for beginner because your checkShot() param is being passed as a string. The elements of @tab are integers. Convert "shot" to an integer before testing: shot = shot.to_i @u = @tab.include?(shot) Hope that helps - jethrow -- Posted via http://www.ruby-forum.com/.