Skip to content

Commit 0ed8b10

Browse files
st0012hsbt
authored andcommitted
Rename leftover Reidline references
1 parent 4b831d0 commit 0ed8b10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/irb/ext/save-history.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def load_history
7373
open(history_file, "r:#{IRB.conf[:LC_MESSAGES].encoding}") do |f|
7474
f.each { |l|
7575
l = l.chomp
76-
if self.class == ReidlineInputMethod and history.last&.end_with?("\\")
76+
if self.class == RelineInputMethod and history.last&.end_with?("\\")
7777
history.last.delete_suffix!("\\")
7878
history.last << "\n" << l
7979
else

lib/irb/input-method.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def encoding
461461
# For debug message
462462
def inspect
463463
config = Reline::Config.new
464-
str = "ReidlineInputMethod with Reline #{Reline::VERSION}"
464+
str = "RelineInputMethod with Reline #{Reline::VERSION}"
465465
if config.respond_to?(:inputrc_path)
466466
inputrc_path = File.expand_path(config.inputrc_path)
467467
else

0 commit comments

Comments
 (0)