[squeak-dev] Form asSomethingOrOther

Randal L. Schwartz merlyn at stonehenge.com
Thu Aug 27 06:33:17 UTC 2009


>>>>> "Ronald" == Ronald Spengler <ron.spengler at gmail.com> writes:

Ronald> Holy cow! This method is on Object. I can do this with anything that
Ronald> inherits from Object?

Welcome to Smalltalk.  First time here? :)

Obviously, there are some objects it doesn't work so well on,
but in general, yeah.

Of course, if you already have a stream, use #storeOn: instead.

-- 
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



More information about the Squeak-dev mailing list