るりまサーチ

最速Rubyリファレンスマニュアル検索!
639件ヒット [601-639件を表示] (0.088秒)

別のキーワード

  1. net/imap param
  2. win32ole win32ole_param
  3. win32ole_param to_s
  4. win32ole_param new
  5. win32ole_param name

検索結果

<< < ... 5 6 7 >>

String#delete_prefix(prefix) -> String (13.0)

文字列の先頭から prefix を削除した文字列のコピーを返します。

...文字列の先頭から prefix を削除した文字列のコピーを返します。

@param prefix 先頭から削除する文字列を指定します。

@return 文字列の先頭から prefix を削除した文字列のコピー

//emlist[][ruby]{
"hello".delete_prefix("hel") # => "lo"
"hello"...
....delete_prefix("llo") # => "hello"
//}

@see String#delete_prefix!
@see String#delete_suffix
@see String#start_with?...

String#delete_suffix!(suffix) -> self | nil (13.0)

self の末尾から破壊的に suffix を削除します。

...self の末尾から破壊的に suffix を削除します。

@param suffix 末尾から削除する文字列を指定します。

@return 削除した場合は self、変化しなかった場合は nil

//emlist[][ruby]{
"hello".delete_suffix!("llo") # => "he"
"hello".delete_suffix!("hel") # => n...
...il
//}

@see String#chomp!
@see String#chop!
@see String#delete_prefix!
@see String#delete_suffix
@see String#end_with?...

String#delete_suffix(suffix) -> String (13.0)

文字列の末尾から suffix を削除した文字列のコピーを返します。

...文字列の末尾から suffix を削除した文字列のコピーを返します。

@param suffix 末尾から削除する文字列を指定します。

@return 文字列の末尾から suffix を削除した文字列のコピー

//emlist[][ruby]{
"hello".delete_suffix("llo") # => "he"
"hello"...
....delete_suffix("hel") # => "hello"
//}

@see String#chomp
@see String#chop
@see String#delete_prefix
@see String#delete_suffix!
@see String#end_with?...

Thread#report_on_exception -> bool (13.0)

真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。

...了した時に、その内容を $stderr に報告します。

デフォルトはスレッド作成時の Thread.report_on_exception です。

@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。

//emli...
...{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => true
a.run
# => #<Thread:0x00007fc3f48c7908@(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#report_on_exception=(newstate) (13.0)

真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。

...了した時に、その内容を $stderr に報告します。

デフォルトはスレッド作成時の Thread.report_on_exception です。

@param newstate スレッド実行中に例外発生した場合、その内容を報告するかどうかを true か false で指定します。

//emli...
...{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => true
a.run
# => #<Thread:0x00007fc3f48c7908@(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
#...

絞り込み条件を変える

<< < ... 5 6 7 >>