help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Heirachy and Behavior>>#new


From: Bonzini
Subject: Re: [Help-smalltalk] Heirachy and Behavior>>#new
Date: Thu, 4 Dec 2003 08:33:40 -0500
User-agent: Mutt/1.3.28i

> Array subclass: #EditorButtons
>     ...!

you'll want variableSubclass: here

> !EditorButtons class methodsFor: 'instantiation'!
> make
>     ^self with: #(anObject anObject2 ...)!

and you want withAll: here.

> Or, is it possible to somehow have #() be another class of Collection, 
> instead of Array?

Nope.

Paolo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]