るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
4件ヒット [1-4件を表示] (0.090秒)
トップページ > バージョン:2.3.0[x] > クエリ:l[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 (45670.0)

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

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

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

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

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

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

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

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

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

@see IRB::ContextExtender.def_extend_command

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

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

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

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

irb (55.0)

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

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

=== irb の使い方

Ruby さえ知っていれば 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 f...