23件ヒット
[1-23件を表示]
(0.166秒)
種類
- 特異メソッド (11)
- インスタンスメソッド (8)
- ライブラリ (4)
ライブラリ
-
irb
/ ext / math-mode (8) -
irb
/ extend-command (11)
クラス
-
IRB
:: Context (8)
モジュール
-
IRB
:: ContextExtender (11)
キーワード
-
install
_ extend _ commands (11) - irb (4)
- math? (4)
検索結果
先頭4件
-
irb (26102.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 foo
irb(main):004:2> print 1
irb(main):005:2> end
irb(main):006:1>......IT] = 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... -
IRB
:: Context # math _ mode -> bool (18223.0) -
math_mode が有効かどうかを返します。
...
math_mode が有効かどうかを返します。
@see IRB::Context#math_mode=, IRB::Context#inspect?... -
IRB
:: ContextExtender . install _ extend _ commands -> object (12206.0) -
定義済みの拡張を読み込みます。
...みます。
IRB::Context で以下のメソッドが利用できるようになります。
* eval_history=
* use_tracer=
* math_mode=
* use_loader=
* save_history=
irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。
@see IRB::ContextExt... -
IRB
:: Context # math? -> bool (3123.0) -
math_mode が有効かどうかを返します。
...
math_mode が有効かどうかを返します。
@see IRB::Context#math_mode=, IRB::Context#inspect?...