> items.each do |x|
> 	if x == ""
> 		items.delete(x)
> 	end
> end
Wow, in Java you this would throw ConcurrentModificationException (i.e. 
you can not iterate and modify a list at the same time, says Java) - 
AFAIK, in java there is no workaround for this. It is interesting that 
Ruby handles this as well, although i am not sure to which extent this 
is (black) magic ;-)

Cheers,
Peter