diff options
author | Stan Lo <stan001212@gmail.com> | 2023-05-19 04:00:29 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-05-18 19:00:33 +0000 |
commit | cfb79973537e081da0ab1aa828883524716efe72 (patch) | |
tree | 93b551c71fa08320b7ec76c964f6b32f82ef15a7 /internal | |
parent | d74b32db9d1e0234b17e4645d270394f7b657f85 (diff) | |
download | ruby-cfb79973537e081da0ab1aa828883524716efe72.tar.gz |
[ruby/irb] Refactor RubyLex's input/io methods
(https://github.com/ruby/irb/pull/583)
1. Make `RubyLex#set_input` simply assign the input block. This matches
the behavior of `RubyLex#set_prompt`.
2. Merge `RubyLex#set_input`'s IO configuration logic with `#set_auto_indent`
into `#configure_io`.
Diffstat (limited to 'internal')
0 files changed, 0 insertions, 0 deletions