On Jan 28, 2005, at 3:40 PM, George Moschovitis wrote: >> Since a class can be spread over multiple files, you have to define > which >> one(s) you want to get. > > My class is defined in one file only. I dont want a general solution. I > want a solution for classes defined in a single file. Any other ideas t.rb class Class def inherited t puts "class #{t} created at #{caller.first}" end end require 'g.rb' g.rb: class Blah end -> class Blah created at ./g.rb:1