diff options
| author | Stan Lo <stan001212@gmail.com> | 2023-07-07 18:27:14 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-07-07 17:27:25 +0000 |
| commit | 24d9e21f84eced634b3e443ada2a57621b2b4b9b (patch) | |
| tree | 96ecaa8228d6b04c80b48047e8a77abc15b5cb61 /ruby_parser.c | |
| parent | a642a94b68a31c0e7c092087114c269132cdb159 (diff) | |
[ruby/reline] Reduce direct references to `Reline::IOGate`
(https://github.com/ruby/reline/pull/566)
* Avoid referencing IOGate from IOGate classes
The only time those classes being used is when themselves being the IOGate.
So when referencing to IOGate, it's better to use `self` instead.
* Avoid referencing to IOGate from LineEditor directly
* Avoid referencing to IOGate from Core directly
* Reference to Reline.core directly
* Replace Reline::IOGate with Reline.core.io_gate
Diffstat (limited to 'ruby_parser.c')
0 files changed, 0 insertions, 0 deletions
