From 4f348e482c2b539aaf535ac3dabc07fed6718e59 Mon Sep 17 00:00:00 2001 From: st0012 Date: Wed, 5 Oct 2022 12:38:51 +0100 Subject: [ruby/irb] Rename leftover Reidline references https://github.com/ruby/irb/commit/0ed8b103ed --- lib/irb/ext/save-history.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/irb/ext') diff --git a/lib/irb/ext/save-history.rb b/lib/irb/ext/save-history.rb index 2135184dba..a74b89f8c3 100644 --- a/lib/irb/ext/save-history.rb +++ b/lib/irb/ext/save-history.rb @@ -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 -- cgit v1.2.3