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:
parent
38989c7621
commit
22de2030c5
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -74,7 +74,7 @@ if defined?(WIN32OLE)
|
|||
|
||||
def test_methods
|
||||
methods = @dict1.methods
|
||||
assert_include(methods, 'Add')
|
||||
assert_include(methods, :Add)
|
||||
end
|
||||
|
||||
def test_ole_func_methods
|
||||
|
|
Loading…
Reference in a new issue