るりまサーチ (Ruby 2.7.0)

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.091秒)

別のキーワード

  1. context ignore_eof
  2. context ignore_eof=
  3. context ignore_eof?
  4. irb/context ignore_eof
  5. irb/context ignore_eof?

ライブラリ

クラス

キーワード

検索結果

IRB::Context#ignore_eof -> bool (54328.0)

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

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

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

デフォルト値は false です。

@see IRB::Context#ignore_eof=

IRB::Context#ignore_eof=(val) (18343.0)

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

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

.irbrc ファイル中で IRB.conf[:IGNORE_EOF] を設定する事でも同様の操作が
行えます。

@param val true を指定した場合、 Ctrl-D を無視します。false を指定した
場合は Ctrl-D の入力時に irb を終了します。

@see IRB::Context#ignore_eof

IRB::Context#ignore_eof? -> bool (18328.0)

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

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

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

デフォルト値は false です。

@see IRB::Context#ignore_eof=