Actions
Feature #10489
openAdd inherit method for clearer and multiple inheritance
Feature #10489:
Add inherit method for clearer and multiple inheritance
Actions
Added by brauliobo (Bráulio Bhavamitra) almost 12 years ago. Updated over 2 years ago.
Bráulio Bhavamitra wrote:
A new and more intuitive syntax:
Instead of (but keeping this for backwards compatibility):
Besides, this allows multiple inheritance. Also,
inheritcould be implemented with justextendplusinclude?
Module is "multiple inheritance" for ruby. I don't think it is a good idea.