Randal L. Schwartz | 2 Oct 2008 00:58
Favicon
Gravatar

Re: capturing output in memory

>>>>> "Randal" == Randal L Schwartz <merlyn <at> stonehenge.com> writes:

Randal> myStream = WriteStream new.

Sorry.  (WriteStream on: '')

Randal> " use myStream as if it were a FileStream "
Randal> myString := myStream contents.

Randal> That's the nice part about the various protocol families.  It mostly just
Randal> works.

Randal> -- 
Randal> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Randal> <merlyn <at> stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Randal> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
Randal> See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

--

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn <at> stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

Gmane