diff options
author | st0012 <stan001212@gmail.com> | 2022-10-05 12:38:51 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-11-15 10:08:28 +0000 |
commit | 4f348e482c2b539aaf535ac3dabc07fed6718e59 (patch) | |
tree | 98bc003869b27b37b958590fac66c536a2a8ce73 /lib/irb/ext/save-history.rb | |
parent | 1eae15142f0fd9e5285e3d685bb1448f0f441b1c (diff) |
[ruby/irb] Rename leftover Reidline references
https://github.com/ruby/irb/commit/0ed8b103ed
Diffstat (limited to 'lib/irb/ext/save-history.rb')
-rw-r--r-- | lib/irb/ext/save-history.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |