diff options
| author | Stan Lo <stan001212@gmail.com> | 2023-07-31 20:57:29 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-07-31 19:57:36 +0000 |
| commit | 5d78ec8a94b7d44b5b152f4fad7e419a2436fe70 (patch) | |
| tree | c685f3b06492636a445b7f70830c3dc1b373754f /test/ruby | |
| parent | c01b17f7fc74f005f23da0405eb8bad08a269a18 (diff) | |
[ruby/irb] Decouple `edit` and `show_source` commands
(https://github.com/ruby/irb/pull/658)
* Decouple `edit` command from `show_source`
2 commands should not depend on each other. If `edit` command also needs
to find a source, the source finding logic should be extracted into a
separate class.
* Return nil if is not an actual file path
* Refactor SourceFinder
https://github.com/ruby/irb/commit/9790517a0c
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
