diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/irb/ext/save-history.rb | 2 | ||||
-rw-r--r-- | lib/irb/input-method.rb | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/lib/irb/input-method.rb b/lib/irb/input-method.rb index 5f13971a43..9480573195 100644 --- a/lib/irb/input-method.rb +++ b/lib/irb/input-method.rb @@ -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 |