wangyh.opengoss@gmail.com
2008-Dec-31 09:10 UTC
How can I listen the events of module/class defined
In my project, I need to listen the events of module/class defined when load a file with ::Kernel::load, but I can''t find the API for my ideal, only the "set_trace_func" method was be found, but I could not resolve the module/class instance when receive the event. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---