5件ヒット
[1-5件を表示]
(0.077秒)
ライブラリ
-
irb
/ context (1) -
irb
/ ext / save-history (4)
キーワード
-
history
_ file (1) -
history
_ file= (1) -
prompt
_ mode (1) -
save
_ history (1) -
save
_ history= (1)
検索結果
先頭5件
-
IRB
:: Context # history _ file -> String | nil (36622.0) -
履歴ファイルのパスを返します。
履歴ファイルのパスを返します。
@return 履歴ファイルのパスを String か nil で返します。nil を返し
た場合は、~/.irb_history に履歴が保存されます。
@see lib:irb#history -
IRB
:: Context # history _ file=(hist) (36622.0) -
履歴ファイルのパスを val に設定します。
履歴ファイルのパスを val に設定します。
.irbrc ファイル中で IRB.conf[:HISTORY_FILE] を設定する事でも同様の事が
行えます。
@param hist 履歴ファイルのパスを文字列で指定します。
@see lib:irb#history -
IRB
:: Context # save _ history -> Integer | nil (18622.0) -
履歴の最大保存件数を Integer か nil で返します。
履歴の最大保存件数を Integer か nil で返します。
@return 履歴の最大保存件数を Integer か nil で返します。0 以下や
nil を返した場合は追加の保存は行いません。
@see lib:irb#history -
IRB
:: Context # save _ history=(val) (18622.0) -
履歴の最大保存件数を val に設定します。
履歴の最大保存件数を val に設定します。
.irbrc ファイル中で IRB.conf[:SAVE_HISTORY] を設定する事でも同様の事が
行えます。
@param val 履歴の最大保存件数を Integer で指定します。0 以下や
nil を返した場合は追加の保存は行いません。現在の件数より小さ
い値を設定した場合は、最新の履歴から指定した件数分のみが保存
されます。
@see lib:irb#history -
IRB
:: Context # prompt _ mode -> Symbol (622.0) -
現在のプロンプトモードを Symbol で返します。
...そうでない場合は、:DEFAULT、:CLASSIC、:SIMPLE、:INF_RUBY、:XMP、:NULL
のいずれかを返します。
定義済みのプロンプトモードの内容については、IRB.conf[:PROMPT][mode] を
参照してください。
@see IRB::Context#prompt_mode=, lib:irb#customize_prompt...