[squeak-dev] The Trunk: Kernel-fbs.779.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jul 2 22:06:25 UTC 2013


Frank Shearar uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-fbs.779.mcz

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

Name: Kernel-fbs.779
Author: fbs
Time: 2 July 2013, 11:05:26.126 pm
UUID: e6029c34-53d1-a24e-8961-bb7c1cd4ad2a
Ancestors: Kernel-fbs.778

Kernel -/-> Traits.

=============== Diff against Kernel-fbs.778 ===============

Item was removed:
- ----- Method: ClassDescription class>>allTraitsDo: (in category 'traits') -----
- allTraitsDo: aBlock
- 	"Evaluate aBlock with all the instance and class traits present in the system"
- 	TraitImpl ifNotNil:[TraitImpl allTraitsDo: aBlock].!

Item was removed:
- ----- Method: ClassDescription class>>newTraitComposition (in category 'traits') -----
- newTraitComposition
- 	"Answer a new trait composition. If no current trait implementation
- 	is installed, return an empty array"
- 	^TraitImpl ifNil:[#()] ifNotNil:[TraitImpl newTraitComposition].!

Item was removed:
- ----- Method: ClassDescription class>>newTraitNamed:uses:category: (in category 'traits') -----
- newTraitNamed: aSymbol uses: aTraitCompositionOrCollection category: aString
- 	"Creates a new trait. If no current trait implementation
- 	is installed, raise an error."
- 	^TraitImpl 
- 		ifNil:[self error: 'Traits are not installed'] 
- 		ifNotNil:[TraitImpl newTraitNamed: aSymbol uses: aTraitCompositionOrCollection category: aString]!

Item was removed:
- ----- Method: ClassDescription class>>newTraitTemplateIn: (in category 'traits') -----
- newTraitTemplateIn: categoryString
- 	^TraitImpl ifNil:[''] ifNotNil:[TraitImpl newTemplateIn: categoryString].!

Item was removed:
- ----- Method: ClassDescription class>>traitImpl (in category 'traits') -----
- traitImpl
- 	"Answer the default implementor of traits"
- 	^TraitImpl!

Item was removed:
- ----- Method: ClassDescription class>>traitImpl: (in category 'traits') -----
- traitImpl: aTraitClass
- 	"Make the given trait class the default implementor of traits"
- 	TraitImpl := aTraitClass.!



More information about the Squeak-dev mailing list