When the ancestors of a module are displayed, for example with String
:
String, Comparable, Object, Kernel, BasicObject
some of them (String, Object, BasicObject) are classes and others are not. Is there a notation to distinguish them? A possible candidate that came to mind was to use <<
instead of <
for module inclusion:
String << Comparable < Object << Kernel < BasicObject
or conversely for class inheritance:
String < Comparable << Object < Kernel << BasicObject
but I am not sure. If there is no notation already out there, what do you think about the above? How is this expressed in UML?