From: Sebastian Hungerecker Date: 2007-12-23T03:13:19+09:00 Subject: Re: no method error (because of unknown variable type) Decurnex Gorosito, Roberto Eduardo wrote: > I insist, is not a problem of eof or eof?, they are both defined. The > problem is that he is calling eof for a IO open to write but not to read. Okay, I was wrong that the eof method doesn't exist. But if you have a File object opened for writing you still don't get a NoMethodError that eof doesn't exist. You get an IOError. So either something else is going on or the OP was wrong about the kind of error he was getting. -- Jabber: sepp2k@jabber.org ICQ: 205544826