on_event_with_outargs

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
}
doc_ruby_on_rails
2015-06-12 22:39:34
Comments
Leave a Comment

Please login to continue.