method
on_event_with_outargs
Ruby latest stable (v2_5_5)
-
0 notes -
Class: WIN32OLE_EVENT
on_event_with_outargs(*args)
public
Defines the callback of event. If you want modify argument in callback, you could use this method instead of WIN32OLE_EVENT#on_event.
ie = WIN32OLE.new('InternetExplorer.Application') ev = WIN32OLE_EVENT.new(ie) ev.on_event_with_outargs('BeforeNavigate2') {|*args| args.last[6] = true }