钩子方法

Class#inherited 类被继承时调用

Module#included 模块的生命周期中调用

Module#extend_object 模块扩展类时调用

Module#method_added

Module#method_removed

Module#method_undefined

posted on 2014-04-10 11:56  qinyan20  阅读(145)  评论(0编辑  收藏  举报