We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
WIN32OLE
1 parent 70ea60c commit 78ff137Copy full SHA for 78ff137
lib/win32ole/property.rb
@@ -1,7 +1,12 @@
1
# frozen_string_literal: false
2
-# OLEProperty
3
-# helper class of Property with arguments.
4
-class OLEProperty
+
+class WIN32OLE
+end
5
6
+# OLEProperty is a helper class of Property with arguments, used by
7
+# `olegen.rb`-generated files.
8
+class WIN32OLE::Property
9
+ # :stopdoc:
10
def initialize(obj, dispid, gettypes, settypes)
11
@obj = obj
12
@dispid = dispid
@@ -14,4 +19,11 @@ def [](*args)
14
19
def []=(*args)
15
20
@obj._setproperty(@dispid, args, @settypes)
16
21
end
22
23
24
25
+module WIN32OLE::VariantType
26
+ # Alias for `olegen.rb`-generated files, that should include
27
+ # WIN32OLE::VARIANT.
28
+ OLEProperty = WIN32OLE::Property
17
29
0 commit comments