[Cuis-dev] relationship between Behavior, Object, and ProtoObject

Mark Volkmann r.mark.volkmann at gmail.com
Fri Jul 12 06:40:10 PDT 2024


On Fri, Jul 12, 2024 at 8:35 AM Andres Valloud via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> What do these expressions yield?
>
> ProtoObject superclass
>

nil


> ProtoObject class superclass
>

Class; I see that the class Class has no references to Behavior.


> On 7/12/24 6:30 AM, Mark Volkmann via Cuis-dev wrote:
> > I understand that Object is a subclass of ProtoObject and that the
> > `basicNew` and `new` methods are defined in Behavior. But I can't find a
> > relationship between Object and Behavior, or between ProtoObject and
> > Behavior. Can someone explain how it is that I can send `#new` to any
> > object? How does it find that method in `Behavior`? I tried to use the
> > debugger to discover the answer, but that didn't help me to find the
> answer.
>

-- 
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240712/5d560537/attachment.htm>


More information about the Cuis-dev mailing list