るりまサーチ

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

別のキーワード

  1. math log
  2. math sqrt
  3. _builtin math
  4. bigdecimal/math e
  5. bigdecimal/math cos

ライブラリ

クラス

モジュール

キーワード

検索結果

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

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

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

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

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::ContextExtender.install_extend_commands -> object (26106.0)

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

...みます。

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

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

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

@see IRB::ContextExt...

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

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

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

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

irb (6090.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>...
...IT] = 16
I
RB.conf[:DEBUG_LEVEL] = 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[:MATH_MODE...

絞り込み条件を変える

irb/ext/math-mode (6012.0)

irb コマンドで実行結果を Object#inspect の代わりに Object#to_s した結果で表示するためのサブライブラリです。

...irb コマンドで実行結果を Object#inspect の代わりに
Object#to_s した結果で表示するためのサブライブラリです。

conf.math_mode IRB.conf[:MATH_MODE] に true を設定する事で使用できま
す。ただし、inspect_mode が設定されていた場合は ins...