496件ヒット
[401-496件を表示]
(0.110秒)
別のキーワード
ライブラリ
- ビルトイン (279)
- gdbm (12)
- getoptlong (36)
- logger (1)
- mkmf (24)
- openssl (12)
- pp (12)
- rake (36)
-
rake
/ packagetask (12) -
rdoc
/ markup (12) -
rubygems
/ command (12) -
rubygems
/ command _ manager (12) -
rubygems
/ indexer (12) - win32ole (24)
クラス
- BasicObject (24)
- Exception (44)
- Fiber (18)
- GDBM (12)
-
Gem
:: Command (12) -
Gem
:: CommandManager (12) -
Gem
:: Indexer (12) - GetoptLong (36)
- Hash (12)
-
Logger
:: Application (1) - Object (16)
-
OpenSSL
:: SSL :: SSLContext (12) -
RDoc
:: Markup (12) -
Rake
:: InvocationChain (12) -
Rake
:: PackageTask (12) - Thread (12)
- TracePoint (153)
- WIN32OLE (24)
モジュール
- Enumerable (12)
- Kernel (24)
-
Rake
:: TaskManager (24)
キーワード
- == (12)
-
add
_ word _ pair (12) - append (12)
-
callee
_ id (12) - cause (12)
- chunk (12)
- close (12)
- define (12)
- disable (24)
- enable (24)
-
enhance
_ with _ matching _ rule (12) -
eval
_ script (7) - event (12)
- execute (12)
-
find
_ command (12) - freeze (4)
- inspect (12)
-
instance
_ eval (24) -
instruction
_ sequence (7) - lineno (12)
-
method
_ id (12) -
method
_ missing (12) -
ole
_ free (12) - ordering= (12)
- parameters (7)
- paranoid (12)
- path (12)
-
pretty
_ print _ inspect (12) - raise (30)
-
raised
_ exception (12) - rehash (12)
-
renegotiation
_ cb= (12) -
return
_ value (12) - start (1)
-
synthesize
_ file _ task (12) - terminate (12)
-
try
_ do (24)
検索結果
先頭5件
-
TracePoint
# instruction _ sequence -> RubyVM :: InstructionSequence (7.0) -
script_compiledイベント発生時にコンパイルされた RubyVM::InstructionSequenceインスタンスを返します。
...) do |tp|
p tp.instruction_sequence # => <RubyVM::InstructionSequence:block in <main>@(eval):1>
end.enable do
eval("puts 'hello'")
end
//}
@raise RuntimeError :script_compiled イベントのための
イベントフックの外側で実行した場合に発生します。... -
TracePoint
# lineno -> Integer (7.0) -
発生したイベントの行番号を返します。
...発生したイベントの行番号を返します。
@raise RuntimeError イベントフックの外側で実行した場合に発生します。
//emlist[例][ruby]{
def foo(ret)
ret
end
trace = TracePoint.new(:call, :return) do |tp|
tp.lineno
end
trace.enable
foo 1
# => 1
# 3
//}... -
TracePoint
# method _ id -> Symbol | nil (7.0) -
イベントが発生したメソッドの定義時の名前を Symbol で返します。 トップレベルであった場合は nil を返します。
...生したメソッドの定義時の名前を Symbol で返します。
トップレベルであった場合は nil を返します。
@raise RuntimeError イベントフックの外側で実行した場合に発生します。
//emlist[][ruby]{
class C
def method_name
end
alias alias_name m... -
TracePoint
# parameters -> [object] (7.0) -
現在のフックが属するメソッドまたはブロックのパラメータ定義を返します。 フォーマットは Method#parameters と同じです。
...メソッドまたはブロックのパラメータ定義を返します。
フォーマットは Method#parameters と同じです。
@raise RuntimeError :call、:return、:b_call、:b_return、:c_call、:c_return
イベントのためのイベントフックの外側で実行... -
TracePoint
# path -> String (7.0) -
イベントが発生したファイルのパスを返します。
...イベントが発生したファイルのパスを返します。
@raise RuntimeError イベントフックの外側で実行した場合に発生します。
//emlist[例][ruby]{
def foo(ret)
ret
end
trace = TracePoint.new(:call) do |tp|
p tp.path # => "/path/to/test.rb"
end
trace.enable
fo... -
TracePoint
# raised _ exception -> Exception (7.0) -
発生した例外を返します。
...発生した例外を返します。
@raise RuntimeError :raise イベントのためのイベントフックの外側で実行し
た場合に発生します。
//emlist[例][ruby]{
trace = TracePoint.new(:raise) do |tp|
tp.raised_exception # => #<ZeroDivisionError: divided... -
TracePoint
# return _ value -> object (7.0) -
メソッドやブロックの戻り値を返します。
...メソッドやブロックの戻り値を返します。
@raise RuntimeError :return、:c_return、:b_return イベントのためのイベ
ントフックの外側で実行した場合に発生します。
//emlist[例][ruby]{
def foo(ret)
ret
end
trace = TracePoint.new(:r... -
WIN32OLE
# method _ missing(id , *args) -> object | nil (7.0) -
WIN32OLE#invokeメソッドを実行します。
...return メソッドの返り値。ただし返り値を持たないメソッドの場合はnil。
@raise RuntimeError idが有効なシンボルではありません。
@raise WIN32OLERuntimeError オートメーションサーバの呼び出しに失敗しました。... -
WIN32OLE
# ole _ free -> () (7.0) -
selfが参照するCOMオブジェクトを解放します。
...操作は行えません。
excel = WIN32OLE.new('Excel.Application')
excel.ole_free # オブジェクトの解放
excel.Quit #=> RuntimeError (failed to get Dispatch Interface)
通常は利用されなくなったWIN32OLEオブジェクトはGCのタイミングで自動的に
解放...