Stan Lo 207f8d0027 [ruby/irb] Avoid calling private methods on the main object
(https://github.com/ruby/irb/pull/498)

When the main object is frozen, `IRB` wraps a `SimpleDelegator` around it.
But because `SimpleDelegator` doesn't delegate private methods, methods like
`require_relative` or `const_get` would cause error, which are needed for
lazily loading commands.

This commit works around this limitation by avoiding those private method calls
when setting up command execution.
2023-01-12 11:49:16 +00:00
..
2023-01-10 15:53:07 +09:00
2022-12-26 15:09:21 +09:00
2022-12-05 05:59:33 +00:00
2022-11-29 04:58:29 +00:00
2022-12-14 05:49:14 +00:00
2022-12-09 16:36:22 +09:00
2023-01-10 15:53:07 +09:00
2022-11-28 04:40:26 +00:00
2022-12-09 16:36:22 +09:00
2022-12-05 06:32:03 +00:00
2023-01-11 22:29:10 +00:00
2023-01-12 05:41:59 +00:00
2022-12-05 07:35:19 +00:00
2022-12-05 07:38:23 +00:00
2023-01-10 15:53:07 +09:00
2022-12-14 16:07:44 +09:00
2022-12-05 08:18:33 +00:00