Why isn’t the eigenclass equivalent to self.class, when it looks so similar?
class << self is more than just a way of declaring class methods (though it can be used that way). Probably you’ve seen some usage like: class Foo class << self def a print “I could also have been defined as def Foo.a.” end end end This works, and is equivalent to def Foo.a, but … Read more