From: "ko1 (Koichi Sasada)" Date: 2013-02-22T09:27:07+09:00 Subject: [ruby-core:52665] [ruby-trunk - Feature #7548] Load and Require Callbacks Issue #7548 has been updated by ko1 (Koichi Sasada). Category set to core Assignee set to matz (Yukihiro Matsumoto) I'm sorry I don't catch up this discussion. I assigned this ticket to matz, but I'm not sure matz is good person to handle it. Please correct me. # Basically, I agree with this proposal. ---------------------------------------- Feature #7548: Load and Require Callbacks https://bugs.ruby-lang.org/issues/7548#change-36751 Author: trans (Thomas Sawyer) Status: Open Priority: Normal Assignee: matz (Yukihiro Matsumoto) Category: core Target version: next minor =begin Should #load and #require have callbacks? e.g. def required(path) ... end def loaded(path, wrap) ... end On occasion I have wanted to do load monitoring to track down a bug. This would have made it easier. Are there any other good use cases? =end -- http://bugs.ruby-lang.org/