[ruby/irb] Rename leftover Reidline references
https://github.com/ruby/irb/commit/0ed8b103ed
This commit is contained in:
parent
1eae15142f
commit
4f348e482c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user