# HG changeset patch # User Claus Gittinger # Date 1463380641 -7200 # Node ID ffc412b82f42a8da8583b7821902f205eb9f8dec # Parent b0023122a5aac037a5b9db7ee18e4530f118c1de #DOCUMENTATION by cg class: OrderedDictionary comment/format in: #removeKey:ifAbsent: diff -r b0023122a5aa -r ffc412b82f42 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.