Project

General

Profile

Actions

Feature #21263

open

eval-after-require hook

Added by znz (Kazuhiro NISHIYAMA) 3 days ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:121626]

Description

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.

No data to display

Actions

Also available in: Atom PDF

Like0