Class, Module, their eigenclasses, and method lookup
问题 Let's open class Module and add a method to it: class Module def foo puts "phew" end end I can call this method by doing this, Class.foo which is understandable because class of Class is Class , whose superclass is Module . so it can call instance methods defined in Module . Now, the method bar below is defined on Module 's eigenclass: class Module def self.bar puts "bar" end end but now Class.bar also works. Can someone explain me how Class can access methods in Module 's eigenclass? I think