るりまサーチ

最速Rubyリファレンスマニュアル検索!
166件ヒット [1-100件を表示] (0.022秒)
トップページ > クエリ:mode[x] > クラス:IRB::Context[x]

別のキーワード

  1. bigdecimal mode
  2. openssl fips_mode=
  3. bigdecimal round_mode
  4. readline vi_editing_mode
  5. readline emacs_editing_mode

ライブラリ

検索結果

<< 1 2 > >>

IRB::Context#prompt_mode=(mode) (6231.0)

プロンプトモードを mode に設定します。

...ドを mode に設定します。

@param mode プロンプトモードを Symbol で指定します。オリジナルの
プロンプトモードか、:DEFAULT、:CLASSIC、:SIMPLE、:INF_RUBY、
:XMP、:NULL のいずれを指定してください。

@see IRB::Context#prom...

IRB::Context#math_mode=(opt) (6148.0)

math_mode を有効にするかどうかを指定します。

...math_mode を有効にするかどうかを指定します。

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

mathn ライブラリを include するため、math_mode を有効にした後は
無効にする事ができません。

@param o...
...pt math_mode を有効にする場合に true を指定します。

@raise IRB::CantReturnToNormalMode 既に math_mode の状態で opt に
false か nil を指定した場合に発生します。

@see IRB::Context#math_mode...

IRB::Context#auto_indent_mode=(val) (6114.0)

入力が次の行に継続した時に自動で字下げを行うかどうかを val に設定します。

...します。

@param val true を指定した場合、自動で字下げを行います。false を指定し
た場合は自動で字下げを行いません。

IRB::Context
#prompt_mode の変更に影響を受ける事に注意してください。

@see IRB::Context#auto_indent_mode...

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

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

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

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

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

IRB::Context#auto_indent_mode -> bool (6108.0)

入力が次の行に継続した時に自動で字下げを行うかどうかを返します。

...入力が次の行に継続した時に自動で字下げを行うかどうかを返します。

デフォルト値は false です。

@return 自動で字下げを行う場合は true を返します。行わない場合は false
を返します。

@see IRB::Context#auto_indent_mode=...

絞り込み条件を変える

IRB::Context#inspect_mode -> object | nil (6108.0)

実行結果の出力方式を返します。

...実行結果の出力方式を返します。

@see IRB::Context#inspect_mode=...

IRB::Context#inspect_mode=(opt) (6108.0)

実行結果の出力方式を opt に設定します。

..., :pretty_inspect
出力結果を pretty_inspect したものを表示します。
: :yaml, :YAML
出力結果を YAML 形式にしたものを表示します。
: :marshal, :Marshal, :MARSHAL, Marshal
出力結果を Marshal.#dump したものを表示します。

@see lib:irb#inspect_mode...

IRB::Context#math_mode -> bool (3124.0)

math_mode が有効かどうかを返します。

...math_mode が有効かどうかを返します。

@see IRB::Context#math_mode=, IRB::Context#inspect?...

IRB::Context#inspect? -> bool (29.0)

IRB::Context#inspect_mode が有効かどうかを返します。

...
IRB::Context
#inspect_mode が有効かどうかを返します。

@return 出力結果に to_s したものを表示する場合は false を返します。それ
以外の場合は true を返します。

@see IRB::Context#inspect_mode, IRB::Context#inspect_mode=...

IRB::Context#math? -> bool (24.0)

math_mode が有効かどうかを返します。

...math_mode が有効かどうかを返します。

@see IRB::Context#math_mode=, IRB::Context#inspect?...

絞り込み条件を変える

IRB::Context#prompt_c=(val) (19.0)

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

...る内容については、
lib:irb#customize_prompt を参照してください。

IRB::Context
#prompt_mode の変更に影響を受ける事に注意してください。

@see IRB::Context#prompt_mode, IRB::Context#prompt_mode=,
IRB::Context
#prompt_c, lib:irb#customize_prompt...
<< 1 2 > >>