From: Greg Ma Date: 2010-05-07T20:14:25+09:00 Subject: Re: Include? on array of objects > ar = ["a", "b" , "cd"] > puts "found 'a'" if ar.include?('a') > puts "found single char!" if ar.detect{|el| el.size == 1} Ok thanks I have to use Detect -- Posted via http://www.ruby-forum.com/.