[squeak-dev] How to copy method safely?

Todd Blanchard tblanchard at mac.com
Tue Nov 4 05:55:49 UTC 2008


You can just copy the source and paste it into the browser as source  
for the new class and accept it.

Or did you want to do this programmatically?

C2 copy: #m1 from: C1

(found in ClassDescription)

On Nov 2, 2008, at 7:14 AM, itsme213 wrote:

> I have a class C1 with method M1 (source + compiled).
>
> How do I safely make a copy of M1 in another class C2 (same source +
> compile)?
>
> Thanks - Sophie
>
>
>
>




More information about the Squeak-dev mailing list