るりまサーチ (Ruby 2.6.0)

最速Rubyリファレンスマニュアル検索!
7件ヒット [1-7件を表示] (0.111秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:@[x] > バージョン:2.6.0[x] > クエリ:ref[x] > クエリ:-[x] > クラス:IRB::Context[x]

別のキーワード

  1. fiddle ref
  2. entity ref
  3. pointer ref
  4. _builtin _id2ref
  5. rexml/document ref

ライブラリ

キーワード

検索結果

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

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

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

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

@see lib:irb#history

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

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

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

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

@see lib:irb#history

IRB::Context#prompt_c -> String (343.0)

式が継続している時のプロンプトを表現するフォーマット文字列を返します。

...式が継続している時のプロンプトを表現するフォーマット文字列を返します。

@see IRB::Context#prompt_c=, lib:irb#customize_prompt...

IRB::Context#prompt_i -> String (343.0)

通常のプロンプトを表現するフォーマット文字列を返します。

...通常のプロンプトを表現するフォーマット文字列を返します。

@see IRB::Context#prompt_i=,lib:irb#customize_prompt...

IRB::Context#prompt_mode -> Symbol (343.0)

現在のプロンプトモードを Symbol で返します。

...そうでない場合は、:DEFAULT、:CLASSIC、:SIMPLE、:INF_RUBY、:XMP、:NULL
のいずれかを返します。

定義済みのプロンプトモードの内容については、IRB.conf[:PROMPT][mode] を
参照してください。

@see IRB::Context#prompt_mode=, lib:irb#customize_prompt...

絞り込み条件を変える

IRB::Context#prompt_n -> String (343.0)

継続行のプロンプトを表現するフォーマット文字列を返します。

...継続行のプロンプトを表現するフォーマット文字列を返します。

@see IRB::Context#prompt_n=, lib:irb#customize_prompt...

IRB::Context#prompt_s -> String (343.0)

文字列中のプロンプトを表現するフォーマット文字列を返します。

...文字列中のプロンプトを表現するフォーマット文字列を返します。

@see IRB::Context#prompt_s=, lib:irb#customize_prompt...