#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Mon, 16 May 2016 08:37:21 +0200
changeset 19842 ffc412b82f42
parent 19841 b0023122a5aa
child 19843 4ce3c7f4d168
#DOCUMENTATION by cg class: OrderedDictionary comment/format in: #removeKey:ifAbsent:
OrderedDictionary.st
--- a/OrderedDictionary.st	Sun May 15 21:18:27 2016 +0200
+++ b/OrderedDictionary.st	Mon May 16 08:37:21 2016 +0200
@@ -937,6 +937,11 @@
 !
 
 removeKey:aKey ifAbsent:aBlock
+    "remove key (and the associated value) from the receiver, 
+     return the value previously stored there.
+     If it was not in the collection return the result
+     from evaluating aBlock."
+     
     |oldValue|
 
     oldValue := super removeKey:aKey ifAbsent:aBlock.