るりまサーチ

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

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. csv to_i
  5. matrix i

ライブラリ

キーワード

検索結果

<< 1 2 3 ... > >>

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

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

...します。

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

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

@see IRB::Context#auto_indent_mode...

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

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

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

デフォルト値は false です。

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

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

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

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

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

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

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

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

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

@see lib:irb#inspect_mode...

IO#binmode -> self (32200.0)

ストリームをバイナリモードにします。MSDOS などバイナリモードの存在 する OS でのみ有効です。そうでない場合このメソッドは何もしません。

...ンしかありません。

@raise Errno::EXXX モードの変更に失敗した場合に発生します。

//emlist[例][ruby]{
I
O.open(IO.sysopen("testfile", "w+")) do |io|
i
o.binmode? # => false
i
o.binmode # => #<IO:fd 8>
i
o.binmode? # => true
end
//}

@see c:IO#io_binmode, IO#binmode?...

絞り込み条件を変える

IO#binmode? -> bool (32200.0)

自身がバイナリモードなら true を返します。そうでない場合、false を返します。

...自身がバイナリモードなら true を返します。そうでない場合、false を返します。


@see c:IO#io_binmode, IO#binmode...

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

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

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

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

@see IRB::Context#p...
...rompt_mode, lib:irb#customize_prompt...

IRB::Context#math_mode=(opt) (29147.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#prompt_mode -> Symbol (29113.0)

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

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

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

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

IRB.Inspector(inspect, init = nil) -> IRB::Inspector (26406.0)

IRB::Inspector オブジェクトを生成します。

...
I
RB::Inspector オブジェクトを生成します。

@param inspect 実行結果の出力のための手続きオブジェクトを指定します。

@param init inspect_mode の初期化のための手続きオブジェクトを指定します。
あらかじめ require が必要...
...な場合などに、proc { require "foo" }
といった指定を行います。...

絞り込み条件を変える

<< 1 2 3 ... > >>