From: Zhenning Guan Date: 2008-11-05T22:27:38+09:00 Subject: Re: what's wrong about this chomp code? Stefano Crocco wrote: > This way, when f.gets returns nil and the NoMethodError exception is > raised, > the exception is rescued and line is set to nil, which causes the loop > to end. > > I hope this helps > > Stefano Thank you for help me understand it. :) -- Posted via http://www.ruby-forum.com/.