The Inbox: Environments-jr.68.mcz

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

The Inbox: Environments-jr.68.mcz

commits-2
A new version of Environments was added to project The Inbox:
http://source.squeak.org/inbox/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]!