From: dblack@... Date: 2002-08-29T01:55:29+09:00 Subject: Re: ANN: scanf for Ruby Hi -- On Thu, 29 Aug 2002, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: ANN: scanf for Ruby" > on 02/08/28, "Hal E. Fulton" writes: > > |As for your comment about including the module: > |I guess what you mean is that we should do a > |'def' in each of those three places, and use the > |qualified name inside that definition, correct? > | > |I think David has changed the source since the > |last version I have. I will pass this on to him. > > I meant like this: > > class IO > def scanf(fstr) > start = pos > fs = Scanf::FormatString.new(fstr) (etc.) The new version was supposed to do that, though I now notice a couple of include's I forgot to delete... and one unqualified constant... but anyway, *now* it does it :-) David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav