Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Environments-jr.68.mcz
Last updated at 10:29 am UTC on 6 March 2017

[squeak-dev] The Trunk: Environments-jr.68.mcz
Sun, Mar 5, 2017 at 5:06 PM
Reply-To: squeak-dev@lists.squeakfoundation.org
To: squeak-dev@lists.squeakfoundation.org, packages@lists.squeakfoundation.org

David T. Lewis uploaded a new version of Environments to project The Trunk:
http://source.squeak.org/trunk/Environments-jr.68.mcz

=================== Summary ====================
Name: Environments-jr.68
Author: jr
Time: 22 January 2017, 1:28:18.011832 am
UUID: 41256adf-d98a-4c4f-8bb6-6e5d800a4014
Ancestors: Environments-nice.67

add a convenience method to activate an environment during a block

============== Diff against Environments-nice.67 ===============
Item was added:

 + —– Method: Environment>>beCurrentDuring: (in category 'as yet unclassified') —–
 + beCurrentDuring: aBlock
 +       "Evaluate aBlock with me as the current dynamic Environment"
 +       ^ aBlock on: CurrentEnvironment do: [:e | e resume: self]!