From: Joel VanderWerf Date: 2010-07-09T05:02:51+09:00 Subject: [ruby-core:31133] Re: Why is the inherited callback invoked at different times for static vs. dynamic subclasses? Yukihiro Matsumoto wrote: > Hi, > > In message "Re: [ruby-core:31130] Re: Why is the inherited callback invoked at different times for static vs. dynamic subclasses?" > on Fri, 9 Jul 2010 02:52:48 +0900, Joel VanderWerf writes: > > |1.8.7p299 seems to have the strangeness: > > Because, there's no clue (for the interpreter) to get a name for the > value from Class.new(A), which is NOT yet assigned to C at the time of > evaluation. I don't think the class name ("C" vs. "#") is the issue. It's the order in which #inherited is called, w.r.t. the class block.