Environment question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Environment question

Chris Cunnington
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.

Chris


Reply | Threaded
Open this post in threaded view
|

Re: Environment question

Colin Putney-3


On Wed, Jun 27, 2012 at 7:29 AM, Chris Cunnington <[hidden email]> 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