<body><div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        <div><span style="font-size: 13.3333px">Hi David, hi all!</span></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">For using object-as-method, you do not need to inherit from #AbstractObjectsAsMethod. Just install an object into a class' method dictionary that implements #run:with:in:.</span></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">Method Wrappers do this:</span></div><div><span style="font-size: 13.3333px">https://github.com/hpi-swa/MethodWrappers</span></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">Here is an example for installing such objects-as-methods:</span></div><div><span style="font-size: 13.3333px">https://github.com/hpi-swa/MethodWrappers/blob/master/packages/MethodWrappers.package/MwMethodWrapper.class/instance/install.st</span></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">It uses Behavior >> #addSelectorSilently:withMethod: to modify the class' method dictionary.</span></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">Best,</span></div><div><span style="font-size: 13.3333px">Marcel</span></div><div class="mb_sig"></div><blockquote class='history_container' type='cite' style='border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;'>
                        <p style='color: #AAAAAA; margin-top: 10px;'>Am 15.03.2021 20:06:33 schrieb stes@PANDORA.BE <stes@telenet.be>:</p><div style='font-family:Arial,Helvetica,sans-serif'>-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA256<br><br><br>When I select the method run:with:in: of the class<br>(AbstractObjectsAsMethods subclass) ObjectsAsMethodsExample :<br><br>and then I click in the menu on "Implementors of it" (m), I find:<br><br>Implementors of run:with:in:<br><br>ObjectsAsMethodsExample run:with:in: {as yet unclassified}<br>TestCoverage run:with:in: {evaluation}<br>WrappedBreakpoint run:with:in: {evaluation}<br><br>So I suspect the classes "TestCoverage" and "WrappedBreakpoint"<br>somehow also implement run:with:in<br><br>Perhaps TestCoverage in the category SUnitGUI is a reason why the feature is<br>there.<br><br>David Stes<br><br><br><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v2<br><br>iQEcBAEBCAAGBQJgT7ABAAoJEAwpOKXMq1MaJ4gIAK2xW25G4ScKyagy6C2XUzEj<br>bySA/MPqvZlvFqHixn+Z1/VeIOAJYamojV0Y8S3mymc0ACRHrunMAwCrsVqgQpBV<br>yPAadkHY41J2vZT1hrhJOHuRHHF35yGWSGHVir3ucFzamfBQluUWIhh5NPK+BBrK<br>kk//j91v8aci5bLWR4GVWmoaOytI78/3EAESKvvkT4e7+CVz4gRjsX6kfKQY3l3J<br>301GhMtdb905jqxoe97U4lBRyY2ZDkwpqHPNgrWwnE6SydbhIHDZeJ+qadZYmlr4<br>dbFsjs5m90vtl2P4+ut6frGUC6URmaKOte+NrWGJ8SaHhv385kQTW+tucZNVHCI=<br>=VrXK<br>-----END PGP SIGNATURE-----<br>_______________________________________________<br>Beginners mailing list<br>Beginners@lists.squeakfoundation.org<br>http://lists.squeakfoundation.org/mailman/listinfo/beginners<br></div></blockquote>
                                        </div></body>