lib/win32ole.rb in win32ole-1.8.10 vs lib/win32ole.rb in win32ole-1.9.0
- old
+ new
@@ -3,11 +3,10 @@
rescue LoadError
# do nothing
end
if defined?(WIN32OLE)
- # WIN32OLE
class WIN32OLE
#
# By overriding Object#methods, WIN32OLE might
# work well with did_you_mean gem.
@@ -24,10 +23,10 @@
private
def ole_methods_safely
ole_methods
- rescue WIN32OLEQueryInterfaceError
+ rescue WIN32OLE::QueryInterfaceError
[]
end
end
end