-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 30 Dec 2000 16:41, I think Dave Thomas wrote:
> Holden Glova <dsafari / paradise.net.nz> writes:
> > class RuntimeInterpreter
> >
> >         def invoke(file)
> >                 streams = Open3.popen3("ruby -w #{file}")
> >                 streams.at(1).each() { |line|
> >                         puts line
> >                 }
> >         end
> > end
>
> Q: what does 'invoke' return?

Ok, granted my test is set up to fail, but I wrote this simply to make sure 
that the correct data was coming to stdout. Why does it seem to append the 
entire contents of the file I pass to RuntimeInterpreter#invoke to itself?

- -- 
Signed,
Holden Glova
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6TXbCzrxa+Gy/b/4RAr61AJ9LXBqSHMeMyaWjDo3UC1eGHVtftACfX+qY
AxTzoPlt2UNg8ix+Dqdh7MY=
=Qv+8
-----END PGP SIGNATURE-----