[Newbies] invoking a *class* method from a workspace
Scott Wallace
madevu at pacbell.net
Mon Jun 4 19:47:58 UTC 2007
Hi, Subbu,
Try:
ClassListBrowser browseClassesSatisfying: [:cl | cl class
instVarNames size > 0] title: 'classes defining class-side inst vars'
Cheers,
-- Scott
On Jun 4, 2007, at 10:40 AM, subbukk wrote:
> BTW, I used the code below to inspect classes with explicit CIVs:
> (Smalltalk values select: [ :c |
> (c isKindOf: Class) and: [c class allInstVarNames size > 13 ] ])
> collect: [ :d | { d . d class allInstVarNames size} ]
>
> but this gave me classes that inherit them too. Is there a way to
> tease out
> classes that *define* CIVs?
>
> Regards .. Subbu
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
More information about the Beginners
mailing list