[ruby/irb] Rename leftover Reidline references

https://github.com/ruby/irb/commit/0ed8b103ed
This commit is contained in:
st0012 2022-10-05 12:38:51 +01:00 committed by git
parent 1eae15142f
commit 4f348e482c
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ module IRB
open(history_file, "r:#{IRB.conf[:LC_MESSAGES].encoding}") do |f|
f.each { |l|
l = l.chomp
if self.class == ReidlineInputMethod and history.last&.end_with?("\\")
if self.class == RelineInputMethod and history.last&.end_with?("\\")
history.last.delete_suffix!("\\")
history.last << "\n" << l
else

View File

@ -461,7 +461,7 @@ module IRB
# For debug message
def inspect
config = Reline::Config.new
str = "ReidlineInputMethod with Reline #{Reline::VERSION}"
str = "RelineInputMethod with Reline #{Reline::VERSION}"
if config.respond_to?(:inputrc_path)
inputrc_path = File.expand_path(config.inputrc_path)
else