I'm trying to look into Ring implementation.

So I have a first question. Why is RGAbstractContainer and subclasses
irregular? Is that on purpose?

Details: RGAbstractContainer delegates adding a new element to the element
being added, via aRGElement>>#addInContainer:. This element is then
expected to use RGContainer>>#addTrait:/#addPackage:/#addMethod: etc...
However only a subset of the RGElements implement #addInContainer:; for
example, RGTrait does not implement #addInContainer: (*).

 (*) Ok, RGContainer>>#addTrait: calls RGContainer>>#addClass:, and RGTrait
being a subclass of RGBehaviorDefinition, that works. But I'm still ??

Thierry

Reply via email to