diff options
| author | Stan Lo <stan001212@gmail.com> | 2023-01-04 09:35:52 +0000 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-01-04 09:35:57 +0000 |
| commit | 3d6500ee6e3676979d5199dc7b5feab0d15235de (patch) | |
| tree | 8791a38600916620c1751b65ec248ed830cae69f /spec/ruby/core | |
| parent | e25c173c97e1e0e538aeb85734cabcbb59cd11ab (diff) | |
[ruby/irb] workspace.rb cleanup
(https://github.com/ruby/irb/pull/489)
* Remove unnecessary Binding#source_location check
`Binding#source_location` was added in 2.6, which is the minimum supported
version now. So this check is no longer necessary.
* Remove unused IRB.delete_caller
This method was added in the earliest version of IRB:
https://github.com/ruby/irb/commit/f47808999d24865fba1929dea1a7011ff5a517d6
But it's not currently referenced by anything. We can verify this with a
org-wide search result:
https://github.com/search?q=org%3Aruby+delete_caller&type=code
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions
