るりまサーチ

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

クラス

検索結果

irb (26330.0)

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

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

=== irb の使い方

Ruby さえ知っていれば irb を使うのは簡単です。
i
rb コマンドを実行すると、以下のようなプロン...
...す。
readline ライブラリがインストールされている時には
自動的にコマンドライン編集や履歴の機能が使えるようになります。

=== irb のコマンドラインオプション

i
rb [options] file_name opts
options:
-
f ~/.irbrc を読...
...HISTORY] = nil
I
RB.conf[: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[:MATH_MODE] = false
I
RB.conf[:PROMPT] = {....}
I
RB.conf[:PROMPT_MODE] = :DEFAULT
I
R...
...= 1
I
RB.conf[:ECHO] = nil
I
RB.conf[:EVAL_HISTORY] = nil
I
RB.conf[: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] =...

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

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

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

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

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