summaryrefslogtreecommitdiff
path: root/ruby_1_9_3/ext/win32ole/lib
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_1_9_3/ext/win32ole/lib')
-rw-r--r--ruby_1_9_3/ext/win32ole/lib/win32ole.rb22
-rw-r--r--ruby_1_9_3/ext/win32ole/lib/win32ole/property.rb16
2 files changed, 0 insertions, 38 deletions
diff --git a/ruby_1_9_3/ext/win32ole/lib/win32ole.rb b/ruby_1_9_3/ext/win32ole/lib/win32ole.rb
deleted file mode 100644
index aaf7e7cdcf..0000000000
--- a/ruby_1_9_3/ext/win32ole/lib/win32ole.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-require 'win32ole.so'
-
-# re-define Thread#initialize
-# bug #2618(ruby-core:27634)
-
-class Thread
- alias :org_initialize :initialize
- def initialize(*arg, &block)
- if block
- org_initialize(*arg) {
- WIN32OLE.ole_initialize
- begin
- block.call(*arg)
- ensure
- WIN32OLE.ole_uninitialize
- end
- }
- else
- org_initialize(*arg)
- end
- end
-end
diff --git a/ruby_1_9_3/ext/win32ole/lib/win32ole/property.rb b/ruby_1_9_3/ext/win32ole/lib/win32ole/property.rb
deleted file mode 100644
index a68bad9af8..0000000000
--- a/ruby_1_9_3/ext/win32ole/lib/win32ole/property.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# OLEProperty
-# helper class of Property with arguments.
-class OLEProperty
- def initialize(obj, dispid, gettypes, settypes)
- @obj = obj
- @dispid = dispid
- @gettypes = gettypes
- @settypes = settypes
- end
- def [](*args)
- @obj._getproperty(@dispid, args, @gettypes)
- end
- def []=(*args)
- @obj._setproperty(@dispid, args, @settypes)
- end
-end