diff options
author | Stan Lo <stan001212@gmail.com> | 2023-01-11 21:26:12 +0000 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-01-11 21:26:18 +0000 |
commit | c693dfd7ef686ccda9db18340bc426e1227e5b53 (patch) | |
tree | 05995cca971bd9f8db0b6211d6238125cb351494 /libexec | |
parent | 36420068725e5b4b86b3481fa1f82b249a60d928 (diff) | |
download | ruby-c693dfd7ef686ccda9db18340bc426e1227e5b53.tar.gz |
[ruby/irb] Drop unused arguments in `RubyLex`
(https://github.com/ruby/irb/pull/504)
* Simplify `RubyLex#set_prompt`
It's optional argument is never used by any caller.
* Remove the optional `p` argument from `RubyLex#set_input`
The argument is only used in a test case, which can be easily replaced by
a block argument.
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions