るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.183秒)
トップページ > バージョン:2.3.0[x] > 種類:インスタンスメソッド[x] > クエリ:t[x] > クエリ:ref[x] > クエリ:history_file[x] > クラス:IRB::Context[x]

別のキーワード

  1. entity ref
  2. fiddle ref
  3. pointer ref
  4. _builtin _id2ref
  5. objectspace _id2ref

ライブラリ

検索結果

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

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

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

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

@see lib:irb#history

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

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

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

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

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

@see lib:irb#history