Skip to content

Commit 1f89b5a

Browse files
committed
Adapt code according to change in book
1 parent 8f4aa73 commit 1f89b5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CodeOfSpec20Book/ListTableAndTreeExamples.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ ListTableAndTreeExamples class >> exampleListsWithDragAndDrop [
157157

158158
list2 := SpListPresenter new.
159159
list2 dropEnabled: true;
160-
wantsDrop: [ :transfer | transfer passenger allSatisfy: #isString ];
160+
wantsDrop: [ :transfer | transfer passenger allSatisfy: [:each | each isString ] ];
161161
acceptDrop: [ :transfer | list2 items: list2 items , transfer passenger ].
162162

163163
SpPresenter new

0 commit comments

Comments
 (0)