The Trunk: System-ul.1032.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: System-ul.1032.mcz

commits-2
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 ]
+ !