From: Adam Akhtar Date: 2008-02-10T07:00:44+09:00 Subject: Identifying If you have an array which contains a mixture of say intergers and nested arrays, how can you determine whether an element is an array or not ie in psedo code array.each do |x| if x == Array do something end whats the corect way to write the if statement? Thanks Adam. -- Posted via http://www.ruby-forum.com/.