> 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.

in the above array = [1,2,3,[34,56,43,7],6,7] etc
-- 
Posted via http://www.ruby-forum.com/.