why does ruby use single inheritance and not utilise multiple
superclasses like python?
aidy
why does ruby use single inheritance and not utilise multiple
superclasses like python?
aidy
[email protected] wrote:
why does ruby use single inheritance and not utilise multiple
superclasses like python?aidy
Ruby does support it It just looks a bit different and is called
mixin’s: http://www.rubycentral.com/book/tut_modules.html but at least
from the point where I can say it at the moment, it feels in use exaclty
like multiple inheritances.
–
greets
(
)
(
/\ .-"""-. /\
//\\/ ,,, \//\\
|/\| ,;;;;;, |/\|
//\\\;-"""-;///\\
// \/ . \/ \\
(| ,-_| \ | / |_-, |)
//`__\.-.-./__`\\
// /.-(() ())-.\ \\
(\ |) '---' (| /)
` (| |) `
jgs \) (/
one must still have chaos in oneself to be able to give birth to a
dancing star
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs