> I would look at the pickaxe book's chapter on reflection > (http://www.rubycentral.com/book/ospace.html), which covers a lot of > topics you'll probably find relevant and interesting, including > runtime callbacks, examining ObjectSpace, and several others. Hal Fulton also does a marvelous job of describing reflection and run-time extension in chapter 5 "OOP and Dynamicity in Ruby" of his "The Ruby Way" book. It's longer and a bit more advanced. I learned a ton from it. -- David Heinemeier Hansson, http://www.instiki.org/ -- A No-Step-Three Wiki in Ruby http://www.basecamphq.com/ -- Web-based Project Management http://www.loudthinking.com/ -- Broadcasting Brain http://www.nextangle.com/ -- Development & Consulting Services