File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
src/GToolkit-Pharo-Coder-Examples Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 77 #category : #' GToolkit-Pharo-Coder-Examples-Dummies'
88}
99
10+ { #category : #' as yet unclassified' }
11+ GtPharoDummyEnvironment class >> cleanUp: aggressive [
12+ " For better exploration, some examples do not clean up dummy environments.
13+ For that reason all dummy environments are cleaned up during this process."
14+
15+ aggressive ifFalse: [ ^ self ].
16+
17+ self allInstancesDo: [ :eachEnvironment |
18+ [ eachEnvironment removeFromSystem ]
19+ onErrorDo: [ :anError | anError return ] ]
20+ ]
21+
1022{ #category : #' api - generation' }
1123GtPharoDummyEnvironment class >> withPackages: anAmountOfPackages classes: anAmountOfClasses [
1224 ^ GtPharoDummiesGenerator withPackages: anAmountOfPackages classes: anAmountOfClasses
You can’t perform that action at this time.
0 commit comments