912件ヒット
[1-100件を表示]
(0.090秒)
種類
- インスタンスメソッド (676)
- 特異メソッド (110)
- 文書 (60)
- 定数 (44)
- ライブラリ (22)
ライブラリ
- ビルトイン (85)
- irb (33)
-
irb
/ cmd / nop (33) -
irb
/ context (539) -
irb
/ ext / history (11) -
irb
/ ext / math-mode (8) -
irb
/ ext / save-history (33) -
irb
/ ext / tracer (22) -
irb
/ ext / use-loader (22) -
irb
/ extend-command (44)
クラス
-
IRB
:: Context (635) -
IRB
:: ExtendCommand :: Nop (33) -
RubyVM
:: InstructionSequence (77) - Thread (8)
モジュール
- IRB (33)
-
IRB
:: ContextExtender (22) -
IRB
:: ExtendCommandBundle (22)
キーワード
- CurrentContext (11)
-
IDNAME
_ IVARS (11) -
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) -
NOPRINTING
_ IVARS (11) -
NO
_ INSPECTING _ IVARS (11) -
OVERRIDE
_ PRIVATE _ ONLY (11) -
_ _ inspect _ _ (11) -
_ _ to _ s _ _ (11) -
absolute
_ path (11) -
ap
_ name (11) -
auto
_ indent _ mode (11) -
back
_ trace _ limit (11) -
base
_ label (11) -
compile
_ file (11) - conf (11)
- debug? (11)
-
debug
_ level (11) -
def
_ extend _ command (11) - echo (11)
- echo? (11)
-
eval
_ history (11) - evaluate (11)
- execute (11)
- exit (11)
-
file
_ input? (11) -
first
_ lineno (11) -
history
_ file (11) -
ignore
_ eof (11) -
ignore
_ eof= (11) -
ignore
_ eof? (11) -
ignore
_ sigint (11) -
ignore
_ sigint= (11) -
ignore
_ sigint? (11) -
init
_ save _ history (11) - inspect (11)
- inspect? (11)
-
inspect
_ mode (11) -
install
_ extend _ commands (11) - io (11)
-
irb
/ completion (11) -
irb
_ context (22) -
irb
_ name (11) -
irb
_ path (11) - label (11)
-
last
_ value (11) -
load
_ modules (11) - main (11)
- math? (4)
-
math
_ mode (4) - new (22)
- of (11)
- path (11)
-
prompt
_ c (11) -
prompt
_ i (11) -
prompt
_ mode (11) -
prompt
_ n (11) -
prompt
_ s (11) - prompting? (11)
- rc (11)
- rc? (11)
-
report
_ on _ exception (8) -
return
_ format (11) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 4 feature (11) -
save
_ history (11) -
set
_ last _ value (11) - thread (11)
-
to
_ s (11) -
use
_ loader (11) -
use
_ loader? (11) -
use
_ readline (11) -
use
_ readline? (11) -
use
_ tracer (11) -
use
_ tracer? (11) - verbose (11)
- verbose? (11)
- version (11)
- workspace (11)
検索結果
先頭5件
-
irb (39892.0)
-
irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
...irb は Interactive Ruby の略です。
irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
=== irb の使い方
Ruby さえ知っていれば irb を使うのは簡単です。
irb コマンドを実行すると、以下のようなプロン......。
=== irb のコマンドラインオプション
irb [options] file_name opts
options:
-f ~/.irbrc を読み込まない
-m bc モード (分数と行列の計算ができる)
-d $DEBUG を true にする (ruby -d と同じ)
-w......ruby -w と同じ
-W[level=2] ruby -W と同じ
-r library ruby -r と同じ
-I ruby -I と同じ
-U ruby -U と同じ
-E enc ruby -E と同じ
--verbose これから実行する行を表示する
--noverbose こ......。
=== irb のコマンドラインオプション
irb [options] file_name opts
options:
-f ~/.irbrc を読み込まない
-d $DEBUG を true にする (ruby -d と同じ)
-w ruby -w と同じ
-W[level=2] ruby -W と同じ
-r librar......ruby -r と同じ
-I ruby -I と同じ
-U ruby -U と同じ
-E enc ruby -E と同じ
--verbose これから実行する行を表示する
--noverbose これから実行する行を表示しない (デフォルト)
--echo... -
IRB
:: Context # irb -> IRB :: Irb (24403.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
. CurrentContext -> IRB :: Context (23433.0) -
現在の irb に関する IRB::Context を返します。
...現在の irb に関する IRB::Context を返します。... -
IRB
. version -> String (23222.0) -
IRB のバージョンを文字列で返します。
...
IRB のバージョンを文字列で返します。
~/.irbrc などの設定ファイル内で IRB.conf[:VERSION] を設定していた場合は
任意のバージョンを返すように設定できます。... -
IRB
. conf -> Hash (23216.0) -
irb の設定をハッシュで返します。
...
irb の設定をハッシュで返します。... -
IRB
:: ExtendCommand :: Nop # irb _ context -> IRB :: Context (15534.0) -
irb の現在の設定(IRB::Context)を返します。
...
irb の現在の設定(IRB::Context)を返します。... -
IRB
:: ExtendCommandBundle # irb _ context -> IRB :: Context (15534.0) -
現在の irb に関する IRB::Context を返します。
...現在の irb に関する IRB::Context を返します。... -
Thread
# report _ on _ exception -> bool (12368.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...ad.report_on_exception です。
@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。
//emlist[例][ruby]{
a = Thread.new{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => tr......fc3f48c7908@(irb):1 run> terminated with exception (report_on_exception is true):
# Traceback (most recent call last):
# (irb):1:in `block in irb_binding': unhandled exception
# #<Thread:0x00007fc3f48c7908@(irb):1 dead>
b = Thread.new{ Thread.stop; raise }
b.report_on_exception = false
b.ru......n # => #<Thread:0x00007fc3f48aefc0@(irb):4 dead>
//}
@see Thread.report_on_exception... -
IRB
:: Context # irb _ name -> String (12213.0) -
起動しているコマンド名を文字列で返します。
...起動しているコマンド名を文字列で返します。
@see IRB::Context#irb_name=... -
IRB
:: Context # irb _ path -> String (12201.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。