別のキーワード
ライブラリ
-
irb
/ context (17) -
irb
/ ext / history (1) -
irb
/ ext / save-history (2)
キーワード
-
ap
_ name (1) -
back
_ trace _ limit (1) - debug? (1)
-
debug
_ level (1) -
debug
_ level= (1) -
eval
_ history (1) -
history
_ file (1) -
ignore
_ eof (1) -
ignore
_ eof= (1) -
ignore
_ eof? (1) -
ignore
_ sigint (1) -
ignore
_ sigint= (1) -
ignore
_ sigint? (1) -
irb
_ name (1) -
prompt
_ c (1) -
prompt
_ i (1) -
prompt
_ n (1) -
prompt
_ s (1) -
return
_ format (1) -
save
_ history (1)
検索結果
先頭5件
-
IRB
:: Context # ignore _ eof=(val) (18361.0) -
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 _ sigint=(val) (18361.0) -
Ctrl-C が入力された時に irb を終了するかどうかを val に設定します。
...に irb を終了します。
true を指定した場合、Ctrl-C の入力時に以下のように動作します。
: 入力中
これまで入力したものをキャンセルしトップレベルに戻る.
: 実行中
実行を中止する.
@see IRB::Context#ignore_sigint... -
IRB
:: Context # debug? -> bool (18343.0) -
irb がデバッグモード(IRB::Context#debug_level が 1 以上)で動作し ているかどうかを返します。
...irb がデバッグモード(IRB::Context#debug_level が 1 以上)で動作し
ているかどうかを返します。
デフォルト値は false です。
@see IRB::Context#debug_level, IRB::Context#debug_level=... -
IRB
:: Context # debug _ level -> Integer (18343.0) -
irb のデバッグレベルを返します。
...irb のデバッグレベルを返します。
デフォルト値は 0 です。
@see IRB::Context#debug_level=, IRB::Context#debug?... -
IRB
:: Context # debug _ level=(val) (18343.0) -
irb のデバッグレベルを val に設定します。
...irb のデバッグレベルを val に設定します。
.irbrc ファイル中で IRB.conf[:DEBUG_LEVEL] を設定する事でも同様の操作
が行えます。
@see IRB::Context#debug_level, IRB::Context#debug?... -
IRB
:: Context # ignore _ eof -> bool (18343.0) -
Ctrl-D(EOF) が入力された時に irb を終了するかどうかを返します。
...Ctrl-D(EOF) が入力された時に irb を終了するかどうかを返します。
true の時は Ctrl-D を無視します。false の時は irb を終了します。
デフォルト値は false です。
@see IRB::Context#ignore_eof=... -
IRB
:: Context # ignore _ eof? -> bool (18343.0) -
Ctrl-D(EOF) が入力された時に irb を終了するかどうかを返します。
...Ctrl-D(EOF) が入力された時に irb を終了するかどうかを返します。
true の時は Ctrl-D を無視します。false の時は irb を終了します。
デフォルト値は false です。
@see IRB::Context#ignore_eof=... -
IRB
:: Context # ignore _ sigint -> bool (18343.0) -
Ctrl-C が入力された時に irb を終了するかどうかを返します。
...alse の時は irb を終了します。true の時は以下のように動作します。
: 入力中
これまで入力したものをキャンセルしトップレベルに戻る.
: 実行中
実行を中止する.
デフォルト値は true です。
@see IRB::Context#ignore_sigint=... -
IRB
:: Context # ignore _ sigint? -> bool (18343.0) -
Ctrl-C が入力された時に irb を終了するかどうかを返します。
...alse の時は irb を終了します。true の時は以下のように動作します。
: 入力中
これまで入力したものをキャンセルしトップレベルに戻る.
: 実行中
実行を中止する.
デフォルト値は true です。
@see IRB::Context#ignore_sigint=... -
IRB
:: Context # eval _ history -> Integer | nil (361.0) -
実行結果の履歴の最大保存件数を Integer か nil で返します。
...履歴の最大保存件数を Integer か nil で返します。
@return 履歴の最大保存件数を Integer か nil で返します。0 を返し
た場合は無制限に保存します。nil を返した場合は追加の保存は行いません。
@see IRB::Context#eval_history=... -
IRB
:: Context # history _ file -> String | nil (361.0) -
履歴ファイルのパスを返します。
履歴ファイルのパスを返します。
@return 履歴ファイルのパスを String か nil で返します。nil を返し
た場合は、~/.irb_history に履歴が保存されます。
@see lib:irb#history -
IRB
:: Context # save _ history -> Integer | nil (361.0) -
履歴の最大保存件数を Integer か nil で返します。
履歴の最大保存件数を Integer か nil で返します。
@return 履歴の最大保存件数を Integer か nil で返します。0 以下や
nil を返した場合は追加の保存は行いません。
@see lib:irb#history -
IRB
:: Context # ap _ name -> String (343.0) -
自身のアプリケーション名を返します。
...自身のアプリケーション名を返します。
デフォルト値は "irb" です。
@see IRB::Context#ap_name=... -
IRB
:: Context # back _ trace _ limit -> Integer (343.0) -
エラー発生時のバックトレース表示の先頭、末尾の上限の行数を返します。
...エラー発生時のバックトレース表示の先頭、末尾の上限の行数を返します。
デフォルト値は 16 です。
@see IRB::Context#back_trace_limit=... -
IRB
:: Context # irb _ name -> String (343.0) -
起動しているコマンド名を文字列で返します。
...起動しているコマンド名を文字列で返します。
@see IRB::Context#irb_name=... -
IRB
:: Context # prompt _ c -> String (343.0) -
式が継続している時のプロンプトを表現するフォーマット文字列を返します。
...式が継続している時のプロンプトを表現するフォーマット文字列を返します。
@see IRB::Context#prompt_c=, lib:irb#customize_prompt... -
IRB
:: Context # prompt _ i -> String (343.0) -
通常のプロンプトを表現するフォーマット文字列を返します。
...通常のプロンプトを表現するフォーマット文字列を返します。
@see IRB::Context#prompt_i=,lib:irb#customize_prompt... -
IRB
:: Context # prompt _ n -> String (343.0) -
継続行のプロンプトを表現するフォーマット文字列を返します。
...継続行のプロンプトを表現するフォーマット文字列を返します。
@see IRB::Context#prompt_n=, lib:irb#customize_prompt... -
IRB
:: Context # prompt _ s -> String (343.0) -
文字列中のプロンプトを表現するフォーマット文字列を返します。
...文字列中のプロンプトを表現するフォーマット文字列を返します。
@see IRB::Context#prompt_s=, lib:irb#customize_prompt... -
IRB
:: Context # return _ format -> String (343.0) -
irb のプロンプトでの評価結果を表示する際のフォーマットを文字列で返します。
...irb のプロンプトでの評価結果を表示する際のフォーマットを文字列で返します。
@see IRB::Context#return_format=, print_format...