るりまサーチ (Ruby 2.4.0)

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

別のキーワード

  1. irb/ext/save-history save_history
  2. history each
  3. irb/ext/history eval_history
  4. irb/ext/history eval_history=
  5. irb/ext/save-history history_file

ライブラリ

クラス

検索結果

IRB::Context#history_file -> String | nil (54307.0)

履歴ファイルのパスを返します。

履歴ファイルのパスを返します。

@return 履歴ファイルのパスを String か nil で返します。nil を返し
た場合は、~/.irb_history に履歴が保存されます。

@see lib:irb#history

IRB::Context#history_file=(hist) (18325.0)

履歴ファイルのパスを val に設定します。

履歴ファイルのパスを val に設定します。

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

@param hist 履歴ファイルのパスを文字列で指定します。

@see lib:irb#history