class Parent end class Child < Parent end puts Child.superclass #=> Parent puts Parent.superclass #=> Object puts Parent.superclass.superclass #=> nilRUBY_VERSION = 1.9
class Parent end class Child < Parent end puts Child.superclass #=> Parent puts Parent.superclass #=> Object puts Parent.superclass.superclass #=> BasicObject puts Parent.superclass.superclass.superclass #=> nilSo now given any class in Ruby, super class will be BasicObject for newer versions.