284件ヒット
[1-100件を表示]
(0.099秒)
クラス
- IO (168)
- SystemExit (12)
- Thread (36)
-
WIN32OLE
_ TYPE (12)
キーワード
- exit! (12)
-
irb
_ at _ exit (12) -
irb
_ exit (12) - kill (12)
-
last
_ status (8) - new (12)
- pass (12)
- popen (168)
- progids (12)
検索結果
先頭5件
-
Process
. exit(status = true) -> () (24224.0) -
プロセスを終了します。関数 Kernel.#exit と同じです。
...プロセスを終了します。関数 Kernel.#exit と同じです。
@param status 終了ステータスを boolean か整数で指定します。true の場合は成功を、false は失敗を意味します。
@see exit(3)... -
Thread
. exit -> () (24218.0) -
カレントスレッドに対して Thread#exit を呼びます。
...カレントスレッドに対して Thread#exit を呼びます。... -
Process
. exit!(status = false) -> () (12224.0) -
関数 Kernel.#exit! と同じです。
...関数 Kernel.#exit! と同じです。
@param status 終了ステータスを boolean か整数で指定します。true の場合は成功を、false は失敗を意味します。
@see _exit(2)... -
IRB
. irb _ at _ exit -> () (12218.0) -
at_exit で登録された処理を実行します。
...at_exit で登録された処理を実行します。
ユーザが直接使用するものではありません。... -
IRB
. irb _ exit(irb , ret) -> object (12202.0) -
irb を終了します。ret で指定したオブジェクトを返します。
...irb を終了します。ret で指定したオブジェクトを返します。
@param irb 現在の IRB::Irb オブジェクトを指定します。
@param ret 戻り値を指定します。
ユーザが直接使用するものではありません。... -
SystemExit
. new(status = 0 , error _ message = "") -> SystemExit (6201.0) -
SystemExit オブジェクトを生成して返します。
...SystemExit オブジェクトを生成して返します。
@param status 終了ステータスを整数で指定します。
@param error_message エラーメッセージを文字列で指定します。
例:
ex = SystemExit.new(1)
p ex.status # => 1... -
Process
. last _ status -> Process :: Status | nil (6113.0) -
カレントスレッドで最後に終了した子プロセスのステータスを返します。
...。
Process.wait Process.spawn("ruby", "-e", "exit 13")
Process.last_status # => #<Process::Status: pid 4825 exit 13>
カレントスレッドで子プロセスを実行したことがない場合は nil を返します。
Process.last_status # => nil
@see Process::Status
@see $?... -
Thread
. kill(thread) -> Thread (3217.0) -
指定したスレッド thread に対して Thread#exit を呼びます。終了したスレッドを返します。
...指定したスレッド thread に対して Thread#exit を呼びます。終了したスレッドを返します。
@param thread 終了したい Thread オブジェクトを指定します。
th = Thread.new do
end
p Thread.kill(th) #=> #<Thread:0x40221bc8 dead>... -
WIN32OLE
_ TYPE . progids -> [String] (3113.0) -
システムに登録されているすべてのコンポーネントクラスのPROGIDを取得します。
...ラスのPROGIDを取得します。
@return システムに登録されているすべてのコンポーネントクラスのPROGIDを
文字列配列で返します。
excel = nil
WIN32OLE_TYPE.progids.each do |pg|
if pg =~ /excel\.application/i # ExcelのPROGIDをバージョ......無視で取り出す
excel = WIN32OLE.new(pg)
break
end
end
unless excel
$stderr.puts "Excel isn't installed"
exit(1)
end
excel.visible = true
# ...
excel.Quit
PROGIDは、生成可能なOLEオートメーションサーバのCoClass(コンポーネント
ク...