Hi David,
I think this is already documented quite well in TestObjectsAsMethods, directly in your image. IMO this kind of documentation is also more sustainable than documentation in a far-away wiki that can deprecate and be out of sync with the rest of the code. :-)
Best,
Christoph
http://www.hpi.de/ ________________________________ Von: Beginners beginners-bounces@lists.squeakfoundation.org im Auftrag von stes@PANDORA.BE stes@telenet.be Gesendet: Donnerstag, 11. März 2021 12:32:29 An: beginners Betreff: Re: [Newbies] AbstractObjectsAsMethod
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
When doing a search on wiki.squeak.org: search for AbstractObjectsAsMethod
it finds matches in
ListOfClassesInSqueak5dot0 ListOfClassesInSqueak5dot1 ListOfClassesInSqueak5dot2 ListOfClassesInSqueak5dot3
So AbstractObjectsAsMethod is in there, but there is no info, that the purpose is (I think) that subclasses provide their own version of
run:aSelector with:arguments in:aReceiver
where the run:with:in: message is dispatched by the VM.
In the example with the class Bar where I add #foobar using addSelector:withMethod:
aSelector is #foobar arguments is an Array aReceiver is then an instance of Bar
David Stes
_______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners