Beginner smalltalk question: Open Classes and Smalltalk
Ramon Leon
rleon at insario.com
Mon Jan 16 16:48:48 UTC 2006
The short answer, is don't add methods from a workspace, just open the
class browser, find the class you want, and add a method to it. Every
class in the system is open for you to edit anytime you like.
> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org] On
> Behalf Of Rich
> Sent: Sunday, January 15, 2006 7:18 PM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: Beginner smalltalk question: Open Classes and Smalltalk
>
> The Ruby language supports the concept of "Open Classs" or
> that at run-time a class can have methods added to it, or in
> general have it's definition modified. As I understand it,
> the idea for this originally came from Smalltalk. If so, how
> would I go about adding methods (in the workspace, for
> example, just to test things out)? Thanks alot.
>
> -Rich
>
>
More information about the Squeak-dev
mailing list
|