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

Fix default prompt mode in doc/irb/irb.rd.ja

This commit is contained in:
Kazuhiro NISHIYAMA 2021-07-02 13:23:20 +09:00
parent 8ebb5e23eb
commit e105d93b4f
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -144,12 +144,12 @@ PROMPT_I, PROMPT_N, PROMPT_S, PROMPT_Cは, フォーマットを指定します.
例えば, デフォルトのプロンプトモードは:
IRB.conf[:PROMPT_MODE][:DEFAULT] = {
IRB.conf[:PROMPT][:DEFAULT] = {
:PROMPT_I => "%N(%m):%03n:%i> ",
:PROMPT_N => "%N(%m):%03n:%i> ",
:PROMPT_S => "%N(%m):%03n:%i%l ",
:PROMPT_C => "%N(%m):%03n:%i* ",
:RETURN => "%s\n"
:RETURN => "=> %s\n"
}
となっています.