Hi --

It seems a little odd to me that this:

class C
   def self.singleton_method_added(m)
     puts "Method #{m} was just defined."
   end
end

produces this output:

Method singleton_method_added was just defined.

Wouldn't it be more logical for the callback itself to be excluded
from triggering itself?


David

-- 
Rails training from David A. Black and Ruby Power and Light:
  *  Advancing With Rails    August 18-21    Edison, NJ
  * Co-taught by D.A. Black and Erik Kastner
See http://www.rubypal.com for details and updates!