[squeak-dev] The Inbox: Environments-jr.68.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Jan 22 00:28:26 UTC 2017

A new version of Environments was added to project The Inbox:

==================== 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]!

More information about the Squeak-dev mailing list