[ruby/irb] Refactor RubyLex's input/io methods (https://github.com/ruby/irb/pull/583)
RubyLex#set_input
RubyLex#set_prompt
#set_auto_indent
#configure_io
[ruby/irb] Refactor RubyLex's input/io methods
(https://github.com/ruby/irb/pull/583)
RubyLex#set_inputsimply assign the input block. This matchesthe behavior of
RubyLex#set_prompt.RubyLex#set_input's IO configuration logic with#set_auto_indentinto
#configure_io.