DEV Community

pooyaalamdari
pooyaalamdari

Posted on

superclass ruby

class C 

end

class D < C  

end

puts D.superclass 
puts D.superclass.superclass
Enter fullscreen mode Exit fullscreen mode

Top comments (0)