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

ruby-changes:58913

From: Takashi <ko1@a...>
Date: Tue, 26 Nov 2019 18:18:32 +0900 (JST)
Subject: [ruby-changes:58913] 958641d991 (master): Suggest an alternative to suppress the irb warning

https://git.ruby-lang.org/ruby.git/commit/?id=958641d991

From 958641d9919f19a1e37c633e9dc44d2986904628 Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Tue, 26 Nov 2019 01:17:56 -0800
Subject: Suggest an alternative to suppress the irb warning


diff --git a/lib/irb/context.rb b/lib/irb/context.rb
index 94def5f..286b9c7 100644
--- a/lib/irb/context.rb
+++ b/lib/irb/context.rb
@@ -86,7 +86,8 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/context.rb#L86
             puts <<~EOM
               This version of IRB is drastically different from the previous version.
               If you hit any issues, you can use "irb --legacy" to run the old version.
-              If you want to just erase this message, please use "irb --multiline".
+              If you want to just erase this message, please use "irb --multiline" or
+              add `IRB.conf[:USE_MULTILINE] = true` in your ~/.irbrc file.
             EOM
             @io = ReidlineInputMethod.new
           else
-- 
cgit v0.10.2


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

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