Skip to content

Commit

Permalink
the cloture field in a .env file will be converted to closed field in…
Browse files Browse the repository at this point in the history
… a spaceModel.yml file.
  • Loading branch information
tomooda committed Nov 13, 2020
1 parent a6e407d commit 73ad7a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions repository/Cormas-Core/CMEnv2CellsConverter.class.st
Expand Up @@ -61,11 +61,11 @@ CMEnv2CellsConverter >> cloture: anArrayOfString into: aWriteStream [
self assert: anArrayOfString size equals: 2.
self typecheckClosure: anArrayOfString second.
aWriteStream
nextPutAll: 'closure: ';
nextPutAll: 'closed: ';
nextPutAll:
(anArrayOfString second = 'closed'
ifTrue: [ 'closed' ]
ifFalse: [ 'toroidal' ]);
ifTrue: [ 'true' ]
ifFalse: [ 'false' ]);
nextPutAll: self endOfLine
]

Expand Down
1 change: 0 additions & 1 deletion repository/Cormas-Model-Conway/CMConwayModel.class.st
Expand Up @@ -202,7 +202,6 @@ CMConwayModel class >> exampleGlidersGun [
aModel
initializeSpaceModel;
activeInit: #initGlidersGun.
aModel inspect.
v := RTView new.
aModel initSimulation. "creates 100x100 cells."
aModel runStep.
Expand Down

0 comments on commit 73ad7a7

Please sign in to comment.