Obtaining traits by name

Keith Hodges keith_hodges at yahoo.co.uk
Thu Mar 8 07:04:01 UTC 2007


Is there a preferred method for obtaining a Trait by name. I see that 
Trait goes to the troble of defining #environment.

Trait named: blah etc can be used to define a trait. Is there a method 
such as Trait named: 'myTrait'  for obtaining a Trait?

Smalltalk at: #TMyTrait works, but I am wondering if there is a better way.

thanks in advance

Keith

		
___________________________________________________________ 
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" – The Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html



More information about the Squeak-dev mailing list