WIN32OLE_EVENT#on_event_with_outargs([event]){...}
Instance Public methods
Defines the callback of event. If you want modify argument in callback, you
could use this method instead of #on_event.
ie = WIN32OLE.new('InternetExplorer.Application')
ev = WIN32OLE_EVENT.new(ie)
ev.on_event_with_outargs('BeforeNavigate2') {|*args|
args.last[6] = true
}