33件ヒット
[1-33件を表示]
(0.012秒)
トップページ > :history_file
別のキーワード
種類
- インスタンスメソッド (22)
- ライブラリ (11)
ライブラリ
-
irb
/ ext / save-history (22)
クラス
-
IRB
:: Context (22)
キーワード
-
history
_ file= (11) - irb (11)
検索結果
-
IRB
:: Context # history _ file -> String | nil (18101.0) -
履歴ファイルのパスを返します。
履歴ファイルのパスを返します。
@return 履歴ファイルのパスを String か nil で返します。nil を返し
た場合は、~/.irb_history に履歴が保存されます。
@see lib:irb#history -
IRB
:: Context # history _ file=(hist) (6107.0) -
履歴ファイルのパスを val に設定します。
...履歴ファイルのパスを val に設定します。
.irbrc ファイル中で IRB.conf[:HISTORY_FILE] を設定する事でも同様の事が
行えます。
@param hist 履歴ファイルのパスを文字列で指定します。
@see lib:irb#history... -
irb (12.0)
-
irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
...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......onf[:SAVE_HISTORY] = 100
履歴ファイルの名前はデフォルトでは ~/.irb_history です。
履歴ファイルの名前は IRB.conf[:HISTORY_FILE] で指定できます。
===[a:inspect_mode] 実行結果の出力方式
irb のプロンプト中では conf.inspect_mode で、.irbrc 中......くない場合は、.irbrc で以下のように指定します。
IRB.conf[:SAVE_HISTORY] = nil
履歴ファイルの名前は IRB.conf[:HISTORY_FILE] で指定できます。
===[a:inspect_mode] 実行結果の出力方式
irb のプロンプト中では conf.inspect_mode で、.irbrc 中...