From: Austin Ziegler Date: 2002-10-25T02:08:37+09:00 Subject: Re: Read "current line" from a file? On Thu, 24 Oct 2002 21:35:55 +0900, nobu.nokada@softhome.net wrote: > class IO > module Backing > def gets(rs = $/) > @backing = super > end > def last > @backing > end > end > end > > STDIN.extend(IO::Backing) > p STDIN.gets > p STDIN.last Wouldn't you need: @backing = super(rs) to be correct? -austin -- Austin Ziegler, austin@halostatue.ca on 2002.10.24 at 13.07.23