From: Paul Sholtz Date: 2011-03-03T15:29:16+09:00 Subject: Re: Anything like Array.contains? method "屋国遥" wrote in post #985112: > 2011/3/3 Paul Sholtz : >> Is there a method in the Ruby array object that gives anything like a >> "contains?" method, to test if an object is already in the Array? > > How about include? Yes, that's want I wanted.. :-) thanks.. -- Posted via http://www.ruby-forum.com/.