From: Raj pal Date: 2013-04-05T15:45:16+09:00 Subject: Re: question on watir sheet.each do |record| if (record['DataSet'] == dataSet) return record end end hi, I am trying to find the data with hash, can you re-write the statement without any loop using any of the predefined method in ruby? RAJ -- Posted via http://www.ruby-forum.com/.