るりまサーチ

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

別のキーワード

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

ライブラリ

クラス

検索結果

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

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

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

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

@see lib:irb#history...

irb (30.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...
...れます。

: help(*names)
: irb_help(*names)

RI から Ruby のドキュメントを参照します。

//emlist{
irb(main):001:0> help String#match
...
//}

names を指定しなかった場合は、RI を対話的なモードで起動します。メソッ
ド名などを入力す...
...irb(main):001:0> help

Enter the method name you want to look up.
You can use tab to autocomplete.
Enter a blank line to exit.

>> String#match
String
#match

(from ruby core)
------------------------------------------------------------------------------
str.match(pattern)...