From: Rajinder Yadav Date: 2010-10-07T10:32:19+09:00 Subject: Re: how do i detect END OF FILE file in ruby On 10-10-06 04:07 AM, Amit Tomar wrote: > Hi all, > i would like to know how do i detect END OF FILE file in > ruby.is there > any EOF operator in ruby??? you can use IO.eof? http://www.ruby-doc.org/core/classes/IO.html#M002285 -- Kind Regards, Rajinder Yadav