RE: Load Magritte for VisualWorks and Magritte - Tutorial
> This is the context:
> prepareOptions: aCollection
> ^ aCollection asArray in: [ :result |
> self isSorted
> ifTrue: [ (result asSortedCollection: self sortBlock) asArray ]
> ifFalse: [ result ] ]
> What do i do resolve this problem?
> Any pointers would be greatly appreciated!
> Dario Trussardi Romano
In Squeak, in is simply this...
"Evaluate the given block with the receiver as its argument."
^ aBlock value: self