Flowdock
method

off_event

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: WIN32OLE_EVENT
off_event(p1 = v1) public

removes the callback of event.

ie = WIN32OLE.new('InternetExplorer.Application')
ev = WIN32OLE_EVENT.new(ie)
ev.on_event('BeforeNavigate2') {|*args|
  args.last[6] = true
}
  ...
ev.off_event('BeforeNavigate2')
  ...
Show source
Register or log in to add new notes.