+ 4
Does Ruby support multiple inheritence? If not, is there a way to make a class inherit from 2 or more classes?
3 Antworten
+ 17
Have you completed the course yet? This gets mentioned in the OOP module.
Basically they say that multiple inheritance is not supported, but you can use 'mixins' to achieve the same results
+ 3
Thank you, no I've just started inheritance
0
I