We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
inChest:at:put:
1 parent ad2294b commit 9098a43Copy full SHA for 9098a43
Chest/Chest.class.st
@@ -234,7 +234,7 @@ Chest class >> inChest: aChestName at: aKey put: anObject [
234
| chest |
235
[ chest := self named: aChestName ]
236
on: KeyNotFound
237
- do: [ chest := self class newNamed: aChestName ].
+ do: [ chest := self newNamed: aChestName ].
238
239
^ chest at: aKey put: anObject
240
]
Chest/WeakChest.class.st
@@ -7,6 +7,13 @@ Class {
7
#category : #Chest
8
}
9
10
+{ #category : #accessing }
11
+WeakChest class >> defaultInstance [
12
+
13
+ ^ defaultInstance ifNil: [
14
+ defaultInstance := self newNamed: self defaultInstanceName ]
15
+]
16
17
{ #category : #'default values' }
18
WeakChest class >> defaultInstanceName [
19
0 commit comments