From: dblack@... Date: 2002-10-24T20:26:28+09:00 Subject: Re: Read "current line" from a file? Hi -- On Thu, 24 Oct 2002, Javier Fontan wrote: > > Hello > > Yo can go back one line and gets > > class File > def current > self.lineno=self.lineno-1 > self.gets > end > end I can't get that to work. Do you have a working example? David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav