close

Project

General

Profile

Actions

Feature #21263

open
Image

eval-after-require hook

Feature #21263: eval-after-require hook

Added by znz (Kazuhiro NISHIYAMA) about 1 year 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: PDF Atom