summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorsuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-26 09:33:46 +0000
committersuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-26 09:33:46 +0000
commit22de2030c501413732a9da9aa1f424a7bf607076 (patch)
tree5445ffed627b18b7f0411cf6a346314bf922c350 /ext
parent38989c76211831093d2eeafd0be68e562b10b1e6 (diff)
* ext/win32ole/lib/win32ole.rb (methods): COM method elements should be
symbol in return value of methods. * test/win32ole/test_win32ole.rb ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/win32ole/lib/win32ole.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/win32ole/lib/win32ole.rb b/ext/win32ole/lib/win32ole.rb
index 635510b..d7034f7 100644
--- a/ext/win32ole/lib/win32ole.rb
+++ b/ext/win32ole/lib/win32ole.rb
@@ -19,7 +19,7 @@ if defined?(WIN32OLE)
# #=> Did you mean? Add
#
def methods(*args)
- super + ole_methods_safely.map(&:name)
+ super + ole_methods_safely.map(&:name).map(&:to_sym)
end
private