diff options
author | tomoya ishida <[email protected]> | 2024-02-13 03:38:27 +0900 |
---|---|---|
committer | git <[email protected]> | 2024-02-12 18:38:30 +0000 |
commit | 7af97dc71fd6790a3f4ffe47dcc5720b675f6b6b (patch) | |
tree | 746868021ac678da2ab27261d88794a1daf9e2d2 /vm_method.c | |
parent | e878bbd641f255b5d8f9e99b84ff8082a5b7fdaf (diff) |
[ruby/irb] Powerup show_source by enabling RubyVM.keep_script_lines
(https://github.com/ruby/irb/pull/862)
* Powerup show_source by enabling RubyVM.keep_script_lines
* Add file_content field to avoid reading file twice while show_source
* Change path passed to eval, don't change irb_path.
* Encapsulate source coloring logic and binary file check insode class Source
* Add edit command testcase when irb_path does not exist
* Memoize irb_path existence to reduce file existence check calculating eval_path
https://github.com/ruby/irb/commit/239683a937
Diffstat (limited to 'vm_method.c')
0 files changed, 0 insertions, 0 deletions