instance method IRB::Context#ignore_eof

ignore_eof -> bool[permalink][rdoc][edit]
ignore_eof? -> bool

Ctrl-D(EOF) が入力された時に irb を終了するかどうかを返します。

true の時は Ctrl-D を無視します。false の時は irb を終了します。

デフォルト値は false です。

[SEE_ALSO] IRB::Context#ignore_eof=