1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
suke 2018-09-26 09:33:46 +00:00
parent 38989c7621
commit 22de2030c5
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ if defined?(WIN32OLE)
# #=> Did you mean? Add # #=> Did you mean? Add
# #
def methods(*args) def methods(*args)
super + ole_methods_safely.map(&:name) super + ole_methods_safely.map(&:name).map(&:to_sym)
end end
private private

View file

@ -74,7 +74,7 @@ if defined?(WIN32OLE)
def test_methods def test_methods
methods = @dict1.methods methods = @dict1.methods
assert_include(methods, 'Add') assert_include(methods, :Add)
end end
def test_ole_func_methods def test_ole_func_methods