Collection atRandom:

Frank Shearar frank.shearar at rnid.org.uk
Fri Nov 21 13:09:01 UTC 2003


Why is it that Collection>>random (is this the correct syntax?) calls
#atRandom: yet Collection doesn't implement this message?

I would have thought you'd want to do something like

Collection atRandom: aGenerator
	^ self subclassResponsibility

frank





More information about the Squeak-dev mailing list