[ENH] Assertion
David N. Smith (IBM)
dnsmith at watson.ibm.com
Sun May 7 19:37:44 UTC 2000
At 20:02 +0200 5/7/00, Stefan Matthias Aust wrote:
>There were already a few assert: methods, let's refactor it to Object and let's start using it where applicable. See attachement for details.
>
>bye
>
>--
>Stefan Matthias Aust // Bevor wir fallen, fallen wir lieber auf
Another useful method might be:
assert: aBlock that: aString
as in:
self assert: [ n > maxGlobs ] that: 'Attempt to process more shop orders than possible.'
(The #that: might need a different name, like #showing: or whatever).
Dave
_______________________________
David N. Smith
IBM T J Watson Research Center
Hawthorne, NY
_______________________________
Any opinions or recommendations
herein are those of the author
and not of his employer.
More information about the Squeak-dev
mailing list
|