[前][次][番号順一覧][スレッド一覧]

ruby-changes:73858

From: Hiroshi <ko1@a...>
Date: Wed, 5 Oct 2022 18:59:48 +0900 (JST)
Subject: [ruby-changes:73858] 2f6a263787 (master): [ruby/irb] Use USE_REIDLINE for backword compatibility

https://git.ruby-lang.org/ruby.git/commit/?id=2f6a263787

From 2f6a26378754adf3658bc237fa51574d3ac64638 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Wed, 5 Oct 2022 18:56:22 +0900
Subject: [ruby/irb] Use USE_REIDLINE for backword compatibility

https://github.com/ruby/irb/commit/e58a3c1b39
---
 lib/irb/context.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/irb/context.rb b/lib/irb/context.rb
index b4c687ca40..5e07f5dfb0 100644
--- a/lib/irb/context.rb
+++ b/lib/irb/context.rb
@@ -54,7 +54,7 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/context.rb#L54
         warn <<~MSG.strip
           USE_REIDLINE is deprecated, please use USE_RELINE instead.
         MSG
-        @use_multiline = IRB.conf[:USE_RELINE]
+        @use_multiline = IRB.conf[:USE_REIDLINE]
       else
         @use_multiline = nil
       end
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]