Modifying prototypes

Lee Salzman lsalzman1 at cox.net
Sun Nov 7 22:38:48 PST 2004


P addProtectedSlot: #someSlot in: #traits valued: whateverValue.

On Sun, Nov 07, 2004 at 05:50:22PM -0500, Todd Fleming wrote:
> Let's say I have a prototype P with some slots. Let's also say that P 
> traits has several roles. I clone P several times. I discover that I 
> need to add some more slots to P and some more roles to P traits that 
> need those slots. Is there an easy way to add the slots to existing 
> objects that delegate to P traits?
> 
> Todd
> 




More information about the Slate mailing list