234件ヒット
[201-234件を表示]
(0.010秒)
別のキーワード
ライブラリ
- ビルトイン (102)
-
cgi
/ session (12) -
cgi
/ util (12) - ipaddr (12)
- readline (12)
-
rexml
/ document (60) - time (24)
クラス
- Array (12)
- CGI (12)
-
CGI
:: Session (12) - IPAddr (12)
-
REXML
:: CData (12) -
REXML
:: Text (12) -
REXML
:: XPath (36) -
RubyVM
:: InstructionSequence (72) - Thread (18)
- Time (24)
オブジェクト
-
Readline
:: HISTORY (12)
キーワード
- << (12)
- [] (12)
- compile (12)
-
compile
_ file (12) - disasm (12)
- disassemble (12)
- each (12)
- first (12)
- match (12)
- new (48)
-
new
_ ntoh (12) - of (12)
- parse (24)
- pretty (12)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9)
検索結果
先頭4件
-
Thread
. report _ on _ exception -> bool (7.0) -
真の時は、いずれかのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...{ 1.times { raise } }
は $stderr に以下のように出力します:
#<Thread:...> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
2: from -e:1:in `block in <main>'
1: from -e:1:in `times'
これによってスレッドのエ... -
Thread
. report _ on _ exception=(newstate) (7.0) -
真の時は、いずれかのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...{ 1.times { raise } }
は $stderr に以下のように出力します:
#<Thread:...> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
2: from -e:1:in `block in <main>'
1: from -e:1:in `times'
これによってスレッドのエ... -
Time
. parse(date , now = Time . now) -> Time (7.0) -
...。
ブロック付きで呼ばれた場合、dateの年はブロックによって変換されます。
require 'time'
Time.parse(...) {|y| y < 100 ? (y >= 69 ? y + 1900 : y + 2000) : y}
与えられた時刻に上位の要素がなかったり壊れていた場合、nowの
該当要素が... -
Time
. parse(date , now = Time . now) {|year| year } -> Time (7.0) -
...。
ブロック付きで呼ばれた場合、dateの年はブロックによって変換されます。
require 'time'
Time.parse(...) {|y| y < 100 ? (y >= 69 ? y + 1900 : y + 2000) : y}
与えられた時刻に上位の要素がなかったり壊れていた場合、nowの
該当要素が...