|
Traits: msg#00131lang.smalltalk.squeak.beginners
Armed with new knowledge of Traits gained from the excellent "Squeak By Example" I tried: Smalltalk allClasses select: [:each | each hasTraitComposition] which gave: an OrderedCollection(ActionSequence BalloonBezierSimulation BalloonEngine BalloonEngineConstants BasicRequestor Behavior BrowserProvider ....WorldMenuProvider XMLTokenizer ZipConstants ZipFileConstants) However browsing to a random class say "ActionSquence", doesn't show any evidence of Trait composition. Is this a problem with the current browser? Also is there a way to browse a Trait say TPureBehavior My image is based on: sq3.9-7067web07.08.1 Thanks Nick -- View this message in context: http://www.nabble.com/Traits-tf4512519.html#a12870783 Sent from the Squeak - Beginners mailing list archive at Nabble.com.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [croquet-dev] Re: [Newbies] Quinto game in SBE, David Corking |
|---|---|
| Next by Date: | smalltalk analogy of a scheme expression, Mark Smithfield |
| Previous by Thread: | Re: Traits, Matthew Fulmer |
| Next by Thread: | Re: Traits, Klaus D. Witzel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |