[Self-interest] How to delegate a message to a parent

Hernan Wilkinson hernan.wilkinson at 10pines.com
Sat Jul 3 21:10:42 UTC 2021


Hi,
 how is the syntax to delegate a message to a parent so when doing so the
"self" is not lost?
 I remember there is a special syntax for that but I do not remember which
one...
 It is very useful when implementing a Decorator on a parent.
 I javascript is done this
way: decorate.message_to_delegate.apply(this,params);

Thanks!
Hernan.

-- 
<https://10pines.com/>HernĂ¡n WilkinsonSoftware Developer, Teacher & Coach

Alem 896, Floor 6, Buenos Aires, Argentina

+54 11 6091 3125

@HernanWilkinson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.selflanguage.org/pipermail/self-interest/attachments/20210703/b9a505cf/attachment.html>


More information about the Self-interest mailing list