るりまサーチ

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

別のキーワード

  1. matrix l
  2. kernel $-l
  3. _builtin $-l
  4. lupdecomposition l
  5. $-l _builtin

ライブラリ

クラス

キーワード

検索結果

IRB::HistorySavingAbility#save_history -> () (27201.0)

irb のヒストリを履歴ファイルに保存します。

...
i
rb のヒストリを履歴ファイルに保存します。

@see lib:irb#history...

irb (26114.0)

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

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

=== irb の使い方

Ruby さえ知っていれば irb を使うのは簡単です。
i
rb コマンドを実行すると、以下のようなプロン...
...

$ irb
i
rb(main):001:0>

あとは Ruby の式を入力するだけで、その式が実行され、結果が表示されます。

i
rb(main):001:0> 1+2
3
i
rb(main):002:0> class Foo
i
rb(main):003:1> def foo
i
rb(main):004:2> print 1
i
rb(main):005:2> end
i
rb(main):006:1>...
...IGNORE_EOF] = true
I
RB.conf[:IGNORE_SIGINT] = true
I
RB.conf[:INSPECT_MODE] = nil
I
RB.conf[:IRB_NAME] = "irb"
I
RB.conf[:IRB_RC] = nil
I
RB.conf[:MATH_MODE] = false
I
RB.conf[:PROMPT] = {....}
I
RB.conf[:PROMPT_MODE] = :DEFAULT
I
RB.conf[:SINGLE_IRB] = false
I
RB.conf[:SAVE_HISTORY] = nil...
...ISTORY_FILE] = nil
I
RB.conf[:IGNORE_EOF] = true
I
RB.conf[:IGNORE_SIGINT] = true
I
RB.conf[:INSPECT_MODE] = nil
I
RB.conf[:IRB_NAME] = "irb"
I
RB.conf[:IRB_RC] = nil
I
RB.conf[:PROMPT] = {....}
I
RB.conf[:PROMPT_MODE] = :DEFAULT
I
RB.conf[:SINGLE_IRB] = false
I
RB.conf[:SAVE_HISTORY] = nil...
...f[:HISTORY_FILE] = nil
I
RB.conf[:IGNORE_EOF] = true
I
RB.conf[:IGNORE_SIGINT] = true
I
RB.conf[:INSPECT_MODE] = nil
I
RB.conf[:IRB_NAME] = "irb"
I
RB.conf[:IRB_RC] = nil
I
RB.conf[:PROMPT] = {....}
I
RB.conf[:PROMPT_MODE] = :DEFAULT
I
RB.conf[:SINGLE_IRB] = false
I
RB.conf[:SAVE_HISTORY] =...

IRB::Context#save_history -> Integer | nil (24301.0)

履歴の最大保存件数を Integer か nil で返します。

...履歴の最大保存件数を Integer か nil で返します。

@return 履歴の最大保存件数を Integer か nil で返します。0 以下や
nil を返した場合は追加の保存は行いません。

@see lib:irb#history...

IRB::Context#save_history=(val) (12307.0)

履歴の最大保存件数を val に設定します。

...履歴の最大保存件数を val に設定します。

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

@param val 履歴の最大保存件数を Integer で指定します。0 以下や
nil を返した場合は追加の保存...
...は行いません。現在の件数より小さ
い値を設定した場合は、最新の履歴から指定した件数分のみが保存
されます。

@see lib:irb#history...

IRB::ContextExtender.install_extend_commands -> object (12206.0)

定義済みの拡張を読み込みます。

...みます。

I
RB::Context で以下のメソッドが利用できるようになります。

* eval_history=
* use_tracer=
* math_mode=
* use_loader=
* save_history=

i
rb/extend-command が require された時にライブラリ内部で自動的
に実行されます。

@see IRB::ContextExt...

絞り込み条件を変える