I tried this code fragment..

i=1
while (true)
   puts "message #{i}"
   i+=1
end

But this one is ending with a message Infinity but I can't see my own 
print statement when the Garbage Collector is coming...

Regards

Tridib

-- 
Posted via http://www.ruby-forum.com/.