[Newbies] Code question.

Blake blake at kingdomrpg.com
Thu Jul 5 23:28:49 UTC 2007


I was reading Stephen Wessals morphic tutorial and came across this:

self activeSegments values anySatisfy: [:each | each = true]

which I thought was odd, and so I first replaced it with:

self activeSegments values anySatisfy: [:each | each = true]

and then just:

self activeSegments includes: true

I think this should be fine since Dictionary's "do" operates on values  
anyway, right?

Or am I missing something?


More information about the Beginners mailing list