From: Fernando Giannetti Date: 2008-12-03T04:18:10+09:00 Subject: Code Tunning Hi! there is a better way to do that? if anArray.include?(id) state='YES' else state='NOT' end puts "#{id}: #{state} included" Thanks! -- Posted via http://www.ruby-forum.com/.