[squeak-dev] The Trunk: Traits-nice.287.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Feb 15 22:26:17 UTC 2011

Nicolas Cellier uploaded a new version of Traits to project The Trunk:

==================== Summary ====================

Name: Traits-nice.287
Author: nice
Time: 15 February 2011, 11:26:11.772 pm
UUID: 6bcfef1a-0838-46e8-b148-b273f6a1ec78
Ancestors: Traits-nice.286

Implement convenient ClassTrait>>category just by symmetry with what we just did to Metaclass.

We can now simplify senders of
	theNonMetaClass category
by just
if we want to...

=============== Diff against Traits-nice.286 ===============

Item was added:
+ ----- Method: ClassTrait>>category (in category 'accessing') -----
+ category
+ 	"Answer the category used for classifying this ClassTrait.
+ 	The category is shared between a Trait and its associated ClassTrait."
+ 	^baseTrait category!

More information about the Squeak-dev mailing list