<ale / crimson.propagation.net> wrote in

> The tricky part here is that when the interpreter executes the row marked
....
> Anyway, it seems it's going to be tricky in either case. Sorry, couldn't
> be more help this time.
>
>      - Aleksi

Yep if you look a threaded example the situation looks pretty hopeless

---------
class Base
  def Base.inherited(sub)
        puts "The first time around the subclass name is #{sub}"
     Thread.new do
        sleep 0.1
        puts "The second time around the subclass name is #{sub}"
     end
     super
  end
end

module Mod
  class Sub < Base
    puts "In class definition, subclass name is #{self}"
  end
end

sleep 0.1
---------

#=> The first time around the subclass name is Sub
#=> In class definition, subclass name is Mod::Sub
#=> The second time around the subclass name is Mod::Sub

/Christoph