diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-11-26 01:17:56 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-11-26 01:18:07 -0800 |
commit | 958641d9919f19a1e37c633e9dc44d2986904628 (patch) | |
tree | de9722e76199fdd23fd2c50a575c59ec13843e81 /lib/irb | |
parent | 5a6e3e7552382a4863ef5a8833798edb22abb3c7 (diff) | |
download | ruby-958641d9919f19a1e37c633e9dc44d2986904628.tar.gz |
Suggest an alternative to suppress the irb warning
Diffstat (limited to 'lib/irb')
-rw-r--r-- | lib/irb/context.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/irb/context.rb b/lib/irb/context.rb index 94def5fc6a..286b9c7fb3 100644 --- a/lib/irb/context.rb +++ b/lib/irb/context.rb @@ -86,7 +86,8 @@ module IRB 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 |