From: Love U Ruby Date: 2013-05-14T03:23:17+09:00 Subject: callback limitations with `inherited` class C def self.inherited(subclass) puts "#{self} just got subclassed by #{subclass}." end end class D < C end The limits of the inherited callback: *Everything has its limits, including the inherited callback. When D inherits from C, C is D’s superclass; but in addition, C’s singleton class is the superclass of D’s singleton class. That’s how D manages to be able to call C’s class methods. But no callback is triggered. Even if you define inherited in C’s singleton class, it’s never called.* can anyone help me what the lines above inside ** means? -- Posted via http://www.ruby-forum.com/.