[squeak-dev] Environment question

Colin Putney colin at wiresong.com
Wed Jun 27 15:36:49 UTC 2012


On Wed, Jun 27, 2012 at 7:29 AM, Chris Cunnington <
smalltalktelevision at gmail.com> wrote:

> http://osrcon.ca/helloenv.png
>
> I created a HelloEnv class and filed out. It has one method #sayHi which
> writes to the Transcript.
>
> I loaded it into an Environment and now I can reference it in a Workspace
> and have it print its message
> to the Transcript.
>
> How would I change my #sayHi method? I'm guessing this is the raw
> implementation and some tooling
> would needed, so you could change code in different environments.


Yeah, I've done only the most basic tool support. If you have the explorer
on your environment open, you can do something like:

Browser fullOnClass: (self at: #HelloEnv)

That will give you a browser that can change #sayHi.

Colin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20120627/d42d3499/attachment.htm


More information about the Squeak-dev mailing list