summaryrefslogtreecommitdiff
path: root/lib/bundler/cli.rb
diff options
context:
space:
mode:
authorStan Lo <stan001212@gmail.com>2024-04-12 20:00:58 +0800
committergit <svn-admin@ruby-lang.org>2024-04-12 12:01:03 +0000
commitf1d9e895b92953add4b12f477c27852cc3d0955b (patch)
treed8bc1f904208e0206966c949c0fa6f290422d99b /lib/bundler/cli.rb
parent7b8b936f4a1cd9a629c0465c287fd0ed40519ebe (diff)
[ruby/irb] Pass statements to Context#evaluate
(https://github.com/ruby/irb/pull/920) This has a few benefits: - We can keep hiding the evaluation logic inside the Context level, which has always been the convention until #824 was merged recently. - Although not an official API, gems like `debug` and `mission_control-jobs` patch `Context#evaluate` to wrap their own logic around it. This implicit contract was broken after #824, and this change restores it. In addition to the refactor, I also converted some context-level evaluation tests into integration tests, which are more robust and easier to maintain. https://github.com/ruby/irb/commit/b32aee4068
Diffstat (limited to 'lib/bundler/cli.rb')
0 files changed, 0 insertions, 0 deletions