[Newbies] Traits

Nick Ager nick.ager at gmail.com
Tue Sep 25 00:00:50 UTC 2007

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


View this message in context: http://www.nabble.com/Traits-tf4512519.html#a12870783
Sent from the Squeak - Beginners mailing list archive at Nabble.com.

More information about the Beginners mailing list