I have doubt whether we can achieve multiple inheritence using ‘module’ concept or Is there any other keywords or concepts which achieve multiple inheritence in ruby?
I have doubt whether we can achieve multiple inheritence using ‘module’ concept or Is
Share
Ruby supports mixin composition. A class can only inherit from one superclass, but it can mix in many modules.
That’s not, strictly speaking, multiple inheritance, but it offers at least sharing of behavior across different classes.