33件ヒット
[1-33件を表示]
(0.106秒)
別のキーワード
種類
- インスタンスメソッド (22)
- ライブラリ (11)
ライブラリ
-
irb
/ ext / save-history (22)
クラス
-
IRB
:: Context (22)
キーワード
-
history
_ file= (11) - irb (11)
検索結果
-
IRB
:: Context # history _ file -> String | nil (24201.0) -
履歴ファイルのパスを返します。
...履歴ファイルのパスを返します。
@return 履歴ファイルのパスを String か nil で返します。nil を返し
た場合は、~/.irb_history に履歴が保存されます。
@see lib:irb#history... -
IRB
:: Context # history _ file=(hist) (12207.0) -
履歴ファイルのパスを val に設定します。
...履歴ファイルのパスを val に設定します。
.irbrc ファイル中で IRB.conf[:HISTORY_FILE] を設定する事でも同様の事が
行えます。
@param hist 履歴ファイルのパスを文字列で指定します。
@see lib:irb#history... -
irb (24.0)
-
irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
...001:0> 1+2
3
irb(main):002:0> class Foo
irb(main):003:1> def foo
irb(main):004:2> print 1
irb(main):005:2> end
irb(main):006:1> end
:foo
irb(main):007:0>
また irb コマンドは readline ライブラリにも対応しています。
readline ライブラリがインスト......file_name opts
options:
-f ~/.irbrc を読み込まない
-m bc モード (分数と行列の計算ができる)
-d $DEBUG を true にする (ruby -d と同じ)
-w ruby -w と同じ
-W[level=2] ruby -W と同じ
-r lib.......conf[:AUTO_INDENT] = 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 [options] file_name opts
options:
-f ~/.irbrc を読み込まない
-d $DEBUG を true にする (ruby -d と同じ)
-w ruby -w と同じ
-W[level=2] ruby -W と同じ
-r library ruby -r と同じ
-I...