-
Notifications
You must be signed in to change notification settings - Fork 140
Open
Description
Why
Hello. 👋 I'm running into deprecation warnings when using IRB where I see the following in my console:
warning: constant ::RubyLex is deprecated
How
The fastest way to reproduce this is by launching IRB from your console and running the following (ensure Ruby warnings are enabled too):
Object.constants.find { Object.const_get(it) == Ruby }
Notes
I'm using the following environment:
- Ruby: ruby 4.0.0 (2025-12-25 revision 553f1675f3) +YJIT +PRISM [arm64-darwin24.6.0]
- IRB: 1.16.0
Metadata
Metadata
Assignees
Labels
No labels