[squeak-dev] The Trunk: System-ul.1032.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jun 1 18:04:46 UTC 2018


Levente Uzonyi uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ul.1032.mcz

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

Name: System-ul.1032
Author: ul
Time: 31 May 2018, 10:50:35.796719 pm
UUID: 39a8d83e-2952-4f72-8528-1687b1456771
Ancestors: System-mt.1031

Added a method to Utilities to allow overriding the value of AuthorInitials while a block is being evaluated. It can be used to prevent the user being nagged during automatic method compilation when the AuthorInitials variable is not set.

=============== Diff against System-mt.1031 ===============

Item was added:
+ ----- Method: Utilities class>>useAuthorInitials:during: (in category 'identification') -----
+ useAuthorInitials: temporaryAuthorInitials during: aBlock
+ 
+ 	| originalAuthorInitials |
+ 	originalAuthorInitials := AuthorInitials.
+ 	[ 
+ 		AuthorInitials := temporaryAuthorInitials.
+ 		aBlock value ]
+ 		ensure: [ AuthorInitials := originalAuthorInitials ]
+ 	!



More information about the Squeak-dev mailing list