108件ヒット
[1-100件を表示]
(0.138秒)
別のキーワード
ライブラリ
- ビルトイン (36)
- getoptlong (12)
-
rubygems
/ user _ interaction (24) -
shell
/ process-controller (6) -
shell
/ system-command (6) - strscan (24)
クラス
-
Gem
:: StreamUI (12) - GetoptLong (12)
-
Shell
:: ProcessController (6) -
Shell
:: SystemCommand (6) - StringScanner (24)
- Thread (36)
モジュール
-
Gem
:: UserInteraction (12)
キーワード
- clear (12)
- exit (12)
- kill (12)
-
terminate
_ interaction (24) -
terminate
_ job (6)
検索結果
先頭5件
-
Shell
:: SystemCommand # terminate -> () (18118.0) -
@todo
...@todo... -
GetoptLong
# terminate -> self (18108.0) -
オプションの処理を、強制的に終了させます。ただし、エラーが起き ている状態でこのメソッドを起動しても、終了させることはできません。
...ソッドを起動しても、終了させることはできません。
すでにオプションの処理が終了しているときは、このメソッドは何も行いません。
@raise RuntimeError エラーが起きている状態でこのメソッドを起動すると、発生します... -
StringScanner
# terminate -> self (15120.0) -
スキャンポインタを文字列末尾後まで進め、マッチ記録を捨てます。
...捨てます。
@return self を返します。
pos = self.string.size と同じ動作です。
//emlist[例][ruby]{
require 'strscan'
s = StringScanner.new('test string')
s.scan(/\w+/) # => "test"
s.matched # => "test"
s.pos # => 4
s[0] # => "test"
s.terminate
s.matched......# => nil
s[0] # => nil
s.pos # => 11
//}
StringScanner#clear は将来のバージョンで削除される予定です。
代わりに StringScanner#terminate を使ってください。... -
Thread
# terminate -> self (15108.0) -
スレッドの実行を終了させます。終了時に ensure 節が実行されます。
...it(0)
により終了します。
Kernel.#exit と違い例外 SystemExit を発生しません。
th1 = Thread.new do
begin
sleep 10
ensure
p "this will be displayed"
end
end
sleep 0.1
th1.kill
#=> "this will be displayed"
@see Kernel.#exit, Kernel.#exit!... -
Gem
:: StreamUI # terminate _ interaction(status = 0) -> () (6114.0) -
アプリケーションを終了します。
...アプリケーションを終了します。
@param status 終了ステータスを指定します。デフォルトは 0 (成功) です。
@raise Gem::SystemExitException このメソッドを呼び出すと必ず発生する例外です。... -
Gem
:: UserInteraction # terminate _ interaction(*args) -> () (6108.0) -
アプリケーションを終了します。
...アプリケーションを終了します。
@param args 委譲先のメソッドに与える引数です。... -
Shell
:: ProcessController # terminate _ job(command) (6108.0) -
指定されたコマンドを終了します。
...指定されたコマンドを終了します。
@param command コマンドを指定します。... -
StringScanner
# clear -> self (20.0) -
スキャンポインタを文字列末尾後まで進め、マッチ記録を捨てます。
...捨てます。
@return self を返します。
pos = self.string.size と同じ動作です。
//emlist[例][ruby]{
require 'strscan'
s = StringScanner.new('test string')
s.scan(/\w+/) # => "test"
s.matched # => "test"
s.pos # => 4
s[0] # => "test"
s.terminate
s.matched......# => nil
s[0] # => nil
s.pos # => 11
//}
StringScanner#clear は将来のバージョンで削除される予定です。
代わりに StringScanner#terminate を使ってください。... -
Thread
# exit -> self (8.0) -
スレッドの実行を終了させます。終了時に ensure 節が実行されます。
...it(0)
により終了します。
Kernel.#exit と違い例外 SystemExit を発生しません。
th1 = Thread.new do
begin
sleep 10
ensure
p "this will be displayed"
end
end
sleep 0.1
th1.kill
#=> "this will be displayed"
@see Kernel.#exit, Kernel.#exit!... -
Thread
# kill -> self (8.0) -
スレッドの実行を終了させます。終了時に ensure 節が実行されます。
...it(0)
により終了します。
Kernel.#exit と違い例外 SystemExit を発生しません。
th1 = Thread.new do
begin
sleep 10
ensure
p "this will be displayed"
end
end
sleep 0.1
th1.kill
#=> "this will be displayed"
@see Kernel.#exit, Kernel.#exit!...