From: "znz (Kazuhiro NISHIYAMA) via ruby-core" Date: 2025-04-11T02:30:11+00:00 Subject: [ruby-core:121626] [Ruby Feature#21263] eval-after-require hook Issue #21263 has been reported by znz (Kazuhiro NISHIYAMA). ---------------------------------------- Feature #21263: eval-after-require hook https://bugs.ruby-lang.org/issues/21263 * Author: znz (Kazuhiro NISHIYAMA) * Status: Open ---------------------------------------- I want to register hook after require. But I have no idea how to write it. Expected use cases: 1. Load related things after require. For example, IRB load related RBS after require something. 2. Soft dependency. For example, mashalling libraries load codes supporting bigdecimal, date, or some optional data types after require them only. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/