Method: BasicObject#singleton_method_added

Defined in:

#singleton_method_addedObject (private)

call-seq:

   singleton_method_added(symbol)

Invoked as a callback whenever a singleton method is added to the
receiver.

   module Chatty
     def Chatty.singleton_method_added(id)
       puts "Adding #{id.id2name}"
     end
     def self.one()     end
     def two()          end
     def Chatty.three() end
   end

<em>produces:</em>

   Adding singleton_method_added
   Adding one
   Adding three