るりまサーチ

最速Rubyリファレンスマニュアル検索!
33件ヒット [1-33件を表示] (0.024秒)
トップページ > クエリ:context[x] > クエリ:history_file[x]

別のキーワード

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

ライブラリ

クラス

キーワード

検索結果

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

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

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

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

@see lib:irb#history

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

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

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

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

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

@see lib:irb#history...

irb (66.0)

irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。

...行なう。デフォルト値は 16。
--context-mode n 新しいワークスペースを作成した時に関連する Binding
オブジェクトの作成方法を 0 から 3 で設定する。
(IRB::Context 参照)
--single-irb irb 中で self を...
...NT] = false
IRB.conf[:BACK_TRACE_LIMIT] = 16
IRB.conf[:DEBUG_LEVEL] = 1
IRB.conf[:ECHO] = nil
IRB.conf[:EVAL_HISTORY] = nil
IRB.conf[:HISTORY_FILE] = nil
IRB.conf[:IGNORE_EOF] = true
IRB.conf[:IGNORE_SIGINT] = true
IRB.conf[:INSPECT_MODE] = nil
IRB.conf[:IRB_NAME] = "irb"
IRB.con...
...IRB.conf[:USE_READLINE] = nil
IRB.conf[:USE_TRACER] = true
IRB.conf[:VERBOSE] = true

それぞれの設定値の詳細については、IRB::Context を参照してください。

====[a:customize_prompt] プロンプトのカスタマイズ

irb のプロンプトをカスタマイズした...