るりまサーチ

最速Rubyリファレンスマニュアル検索!
32件ヒット [1-32件を表示] (0.122秒)
トップページ > クエリ:r[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 (18123.0)

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

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

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

IRB::Context#math_mode=(opt) (9147.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 (6018.0)

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

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

=== irb の使い方

R
uby さえ知っていれば irb を使うのは簡単です。
irb コマンドを実行すると、以下のようなプロン...
...す。

$ irb
irb(main):001:0>

あとは Ruby の式を入力するだけで、その式が実行され、結果が表示されます。

irb(main):001:0> 1+2
3
irb(main):002:0> class Foo
irb(main):003:1> def foo
irb(main):004:2> print 1
irb(main):005:2> end
irb(main):006:...
...16
IRB.conf[:DEBUG_LEVEL] = 1
IRB.conf[:ECHO] = nil
IRB.conf[:EVAL_HISTORY] = nil
IRB.conf[:HISTORY_FILE] = nil
IRB.conf[:IGNORE_EOF] = true
IRB.conf[:IGNORE_SIGINT] = true
IRB.conf[:INSPECT_MODE] = nil
IRB.conf[:IRB_NAME] = "irb"
IRB.conf[:IRB_RC] = nil
IRB.conf[:MATH_MODE] = fa...

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...

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

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

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

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

絞り込み条件を変える

IRB::ContextExtender.install_extend_commands -> object (3006.0)

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

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

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

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

@see IRB::ContextExtender.def_ex...