#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Tue, 21 Nov 2017 13:10:41 +0100
changeset 22363 699f574567bd
parent 22362 271a6e5f7804
child 22364 62c8c34ccc2a
#DOCUMENTATION by cg class: Block class comment/format in: #documentation
Block.st
--- a/Block.st	Tue Nov 21 13:10:30 2017 +0100
+++ b/Block.st	Tue Nov 21 13:10:41 2017 +0100
@@ -84,9 +84,9 @@
         coll do:[:eachElement | Transcript showCR:eachElement ].
     
     Blocks keep a reference to the context where it was declared -
-    this allows blocks to access the methods arguments and/or variables.
+    this allows blocks to access the method's arguments and/or variables.
     This is still true after the method has returned - since the
-    block keeps this reference, the methods context will NOT die in this case.
+    block keeps this reference, the method's context will NOT die in this case.
     (for experts: Smalltalk blocks are technically lambdas/closures)
 
     A return (via ^-statement) out of a block will force a return from the
@@ -666,7 +666,6 @@
     "Created: / 28-08-2010 / 14:41:15 / cg"
 ! !
 
-
 !Block methodsFor:'accessing'!
 
 home