lib/win32ole/win32ole_event.rb in jruby-win32ole-0.8.0 vs lib/win32ole/win32ole_event.rb in jruby-win32ole-0.8.1
- old
+ new
@@ -1,5 +1,7 @@
class WIN32OLE_EVENT
+ java_import org.racob.com.DispatchEvents
+
def initialize(ole, event_name=nil)
@event_handlers = {}
raise TypeError.new("1st parameter must be WIN32OLE object") if !ole.kind_of? WIN32OLE