summaryrefslogtreecommitdiff
path: root/ext/win32ole/sample
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-16 17:47:19 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-16 17:47:19 +0000
commit8ef5da3be1577bb5ae7f55b60cf9fedb10ecb85e (patch)
treea700e3fe92165180b04451746f9c4fda4f038289 /ext/win32ole/sample
parent3ec0bc3828794a6ef6293b53b403af8bc2362934 (diff)
consistent parentheses in assignment RHS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32ole/sample')
-rw-r--r--ext/win32ole/sample/xml.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/win32ole/sample/xml.rb b/ext/win32ole/sample/xml.rb
index 6d8ac8c..b95d6d5 100644
--- a/ext/win32ole/sample/xml.rb
+++ b/ext/win32ole/sample/xml.rb
@@ -5651,7 +5651,7 @@ class Microsoft_XMLDOM_1_0 # DOMDocument
@clsid = "{2933BF90-7B36-11D2-B20E-00C04F983E60}"
@progid = "Microsoft.XMLDOM.1.0"
if obj.nil?
- @dispatch = WIN32OLE.new @progid
+ @dispatch = WIN32OLE.new(@progid)
else
@dispatch = obj
end
@@ -6258,7 +6258,7 @@ class Microsoft_FreeThreadedXMLDOM_1_0 # DOMFreeThreadedDocument
@clsid = "{2933BF91-7B36-11D2-B20E-00C04F983E60}"
@progid = "Microsoft.FreeThreadedXMLDOM.1.0"
if obj.nil?
- @dispatch = WIN32OLE.new @progid
+ @dispatch = WIN32OLE.new(@progid)
else
@dispatch = obj
end
@@ -6992,7 +6992,7 @@ class Microsoft_XMLHTTP_1 # XMLHTTPRequest
@clsid = "{ED8C108E-4349-11D2-91A4-00C04F7969E8}"
@progid = "Microsoft.XMLHTTP.1"
if obj.nil?
- @dispatch = WIN32OLE.new @progid
+ @dispatch = WIN32OLE.new(@progid)
else
@dispatch = obj
end
@@ -7136,7 +7136,7 @@ class Microsoft_XMLDSO_1_0 # XMLDSOControl
@clsid = "{550DDA30-0541-11D2-9CA9-0060B0EC3D39}"
@progid = "Microsoft.XMLDSO.1.0"
if obj.nil?
- @dispatch = WIN32OLE.new @progid
+ @dispatch = WIN32OLE.new(@progid)
else
@dispatch = obj
end
@@ -7207,7 +7207,7 @@ class Msxml # XMLDocument
@clsid = "{CFC399AF-D876-11D0-9C10-00C04FC99C8E}"
@progid = "Msxml"
if obj.nil?
- @dispatch = WIN32OLE.new @progid
+ @dispatch = WIN32OLE.new(@progid)
else
@dispatch = obj
end