24件ヒット
[1-24件を表示]
(0.072秒)
別のキーワード
クラス
- Exception (12)
-
WIN32OLE
_ EVENT (12)
検索結果
-
Exception
# inspect -> String (18124.0) -
self のクラス名と message を文字列にして返します。
...self のクラス名と message を文字列にして返します。
//emlist[例][ruby]{
begin
raise "exception"
rescue
p $!.inspect # => "#<RuntimeError: exception>"
end
//}... -
WIN32OLE
_ EVENT # handler=(obj) -> () (13.0) -
イベント処理を実行するオブジェクトを登録します。
...=#{args.inspect}"
end
end
ie = WIN32OLE.new('InternetExplorer.Application.1')
event = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents2')
event.handler = IeHandler.new
ie.Navigate2 'http://www.ruby-lang.org/ja/'
loop do
break if event.handler.completed
WIN32OLE_EVENT.message_loop...