[squeak-dev] The Trunk: Collections-edc.285.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jan 29 09:58:37 UTC 2010


Edgar J. De Cleene uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-edc.285.mcz

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

Name: Collections-edc.285
Author: edc
Time: 29 January 2010, 7:01:04.567 am
UUID: b62a5e69-31ed-4958-b317-621a163b5a90
Ancestors: Collections-ul.284

-enh Add String > beginsWithAnyOf:

=============== Diff against Collections-ul.284 ===============

Item was added:
+ ----- Method: String>>beginsWithAnyOf: (in category 'comparing') -----
+ beginsWithAnyOf: aCollection
+ 	aCollection do:[:suffix|
+ 		(self beginsWith: suffix) ifTrue:[^true].
+ 	].
+ 	^false!




More information about the Squeak-dev mailing list