Commit graph

4 commits

Author SHA1 Message Date
Stan Lo
4349c7909f [ruby/irb] Memoize helper method instances with Singleton module
(https://github.com/ruby/irb/pull/931)

Some helpers, like Rails console's `app`, requires memoization of the
helper's ivars. To support it IRB needs to memoize helper method instances
as well.

a96c7a6668
2024-04-24 18:32:55 +00:00
Stan Lo
9bba999be7 [ruby/irb] Revert "Memoize helper method instances with Singleton module"
This reverts commit 169a9a2c30.

221b0a4928
2024-04-24 16:01:23 +00:00
Stan Lo
e5ca3d072f [ruby/irb] Memoize helper method instances with Singleton module
Some helpers, like Rails console's `app`, requires memoization of the
helper's ivars. To support it IRB needs to memoize helper method instances
as well.

169a9a2c30
2024-04-24 16:01:02 +00:00
Stan Lo
e11237904c
Sync IRB f9347b1 (#10611) 2024-04-23 21:00:56 +00:00