129件ヒット
[101-129件を表示]
(0.101秒)
別のキーワード
クラス
-
Benchmark
:: Tms (24) - Module (12)
-
RubyVM
:: InstructionSequence (36) -
Thread
:: Backtrace :: Location (24) - UncaughtThrowError (33)
検索結果
先頭3件
-
UncaughtThrowError
# value -> object (3007.0) -
Kernel.#throw に指定した value を返します。
...Kernel.#throw に指定した value を返します。
//emlist[例][ruby]{
def do_complicated_things
throw :uncaught_label, "uncaught_value"
end
begin
do_complicated_things
rescue UncaughtThrowError => ex
p ex.value # => "uncaught_value"
end
//}... -
Benchmark
:: Tms # format(fmtstr = nil , *args) -> String (107.0) -
self を指定されたフォーマットで整形して返します。
...:Tms#real
: %n
ラベルで置き換えられます(Mnemonic: n of "*n*ame")。Benchmark::Tms#label
@param fmtstr フォーマット文字列です。
省略された場合は、Benchmark::Tms::FORMAT が使用されます。
@param args フォーマットされる引数です。... -
RubyVM
:: InstructionSequence # inspect -> String (107.0) -
self の情報をラベルとパスを含んだ人間に読みやすい文字列にして返します。
...んだ人間に読みやすい文字列にして返します。
//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
iseq.inspect # => "<RubyVM::InstructionSequence:<compiled>@<compiled>>"
//}
@see RubyVM::InstructionSequence#label,
RubyVM::InstructionSequence#path...