summaryrefslogtreecommitdiff
path: root/ext/win32ole
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2021-04-26 00:10:39 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-04-26 10:07:41 +0900
commit33f2ff3babb7054f3df1efa25c1285e09613d7b8 (patch)
tree4c47e98fd4194080fb4d0d047100731b076babc0 /ext/win32ole
parentf9b62b5cc04fa87f0970c9ca3d1cbbc9be8bf8fe (diff)
Fix some typos by spell checker
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4414
Diffstat (limited to 'ext/win32ole')
-rw-r--r--ext/win32ole/sample/xml.rb12
-rw-r--r--ext/win32ole/win32ole_type.c2
-rw-r--r--ext/win32ole/win32ole_variant.c2
3 files changed, 8 insertions, 8 deletions
diff --git a/ext/win32ole/sample/xml.rb b/ext/win32ole/sample/xml.rb
index 36c3db32ef..5a239c9336 100644
--- a/ext/win32ole/sample/xml.rb
+++ b/ext/win32ole/sample/xml.rb
@@ -1032,8 +1032,8 @@ module IXMLDOMDocument
end
# VOID save
- # save the document to a specified desination
- # VARIANT arg0 --- desination [IN]
+ # save the document to a specified destination
+ # VARIANT arg0 --- destination [IN]
def save(arg0)
ret = _invoke(64, [arg0], [VT_VARIANT])
@lastargs = WIN32OLE::ARGV
@@ -6224,8 +6224,8 @@ class Microsoft_XMLDOM_1_0 # DOMDocument
end
# VOID save
- # save the document to a specified desination
- # VARIANT arg0 --- desination [IN]
+ # save the document to a specified destination
+ # VARIANT arg0 --- destination [IN]
def save(arg0)
ret = @dispatch._invoke(64, [arg0], [VT_VARIANT])
@lastargs = WIN32OLE::ARGV
@@ -6831,8 +6831,8 @@ class Microsoft_FreeThreadedXMLDOM_1_0 # DOMFreeThreadedDocument
end
# VOID save
- # save the document to a specified desination
- # VARIANT arg0 --- desination [IN]
+ # save the document to a specified destination
+ # VARIANT arg0 --- destination [IN]
def save(arg0)
ret = @dispatch._invoke(64, [arg0], [VT_VARIANT])
@lastargs = WIN32OLE::ARGV
diff --git a/ext/win32ole/win32ole_type.c b/ext/win32ole/win32ole_type.c
index fa39bf3696..48dbc9dbde 100644
--- a/ext/win32ole/win32ole_type.c
+++ b/ext/win32ole/win32ole_type.c
@@ -56,7 +56,7 @@ static const rb_data_type_t oletype_datatype = {
/*
* Document-class: WIN32OLE_TYPE
*
- * <code>WIN32OLE_TYPE</code> objects represent OLE type libarary information.
+ * <code>WIN32OLE_TYPE</code> objects represent OLE type library information.
*/
static void
diff --git a/ext/win32ole/win32ole_variant.c b/ext/win32ole/win32ole_variant.c
index 93f0636593..5ab29669f6 100644
--- a/ext/win32ole/win32ole_variant.c
+++ b/ext/win32ole/win32ole_variant.c
@@ -371,7 +371,7 @@ check_type_val2variant(VALUE val)
* Win32OLE converts Ruby object into OLE variant automatically when
* invoking OLE methods. If OLE method requires the argument which is
* different from the variant by automatic conversion of Win32OLE, you
- * can convert the specfied variant type by using WIN32OLE_VARIANT class.
+ * can convert the specified variant type by using WIN32OLE_VARIANT class.
*
* param = WIN32OLE_VARIANT.new(10, WIN32OLE::VARIANT::VT_R4)
* oleobj.method(param)