406件ヒット
[401-406件を表示]
(0.046秒)
別のキーワード
クラス
-
Enumerator
:: Lazy (24) - IO (144)
- Object (12)
- Set (24)
-
Thread
:: Queue (36) -
Thread
:: SizedQueue (36) -
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ TYPE (12)
モジュール
- Enumerable (48)
- TSort (58)
キーワード
-
collect
_ concat (12) -
default
_ event _ sources (12) - deq (24)
-
each
_ cons (24) -
each
_ line (72) -
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (23) -
flat
_ map (12) - handler= (12)
- intersection (12)
- pop (24)
-
respond
_ to? (12) - shift (24)
-
slice
_ before (24) -
strongly
_ connected _ components (12) - union (12)
検索結果
-
WIN32OLE
_ EVENT # handler=(obj) -> () (31.0) -
イベント処理を実行するオブジェクトを登録します。
...ジェクトをイベントハンドラとし
て登録します。
イベントハンドラはイベント名に「on」を前置します。もし、イベントに対応
するonメソッドが実装されていなければmethod_missingが呼ばれます。イベン
ト名は大文字小文字......。
class IeHandler
def initialize
@completed = false
end
attr_reader :completed
def onDocumentComplete(disp, uri)
disp.document.getElementsByTagName('a').each do |e|
puts "#{e.innerHTML}=#{e.href}"
end
@completed = true
end
def method_missi......ternetExplorer.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
end
ie.Quit
WIN32OLE_EVENT#on_eventなどの呼び...