1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Suggest an alternative to suppress the irb warning

This commit is contained in:
Takashi Kokubun 2019-11-26 01:17:56 -08:00
parent 5a6e3e7552
commit 958641d991
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -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