You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
e1 = WIN32OLE.new('Excel.Application')
=> #WIN32OLE:0x1918c79
e1.ole_type
�[1mTraceback�[m (most recent call last):
7: from C:/jruby-9.2.6.0/bin/jirb:13:in <main>' 6: from org/jruby/RubyKernel.java:1179:in catch'
5: from org/jruby/RubyKernel.java:1179:in catch' 4: from org/jruby/RubyKernel.java:1411:in loop'
3: from org/jruby/RubyKernel.java:1047:in eval' 2: from (irb):2:in evaluate'
1: from C:/jruby-9.2.6.0/lib/ruby/gems/shared/gems/jruby-win32ole-0.8.5/lib/win32ole/win32ole_ruby.rb:47:in ole_type' NoMethodError (undefined method documentation' for #Java::OrgRacobCom::TypeLib:0x1a9e7c8
It seems that in
def ole_type
typelib = type_info.containing_type_lib
docs = typelib.documentation(typelib.index)
WIN32OLE_TYPE.new typelib, type_info, docs
end
the documentation fails.
The text was updated successfully, but these errors were encountered:
It seems that in
def ole_type
typelib = type_info.containing_type_lib
docs = typelib.documentation(typelib.index)
WIN32OLE_TYPE.new typelib, type_info, docs
end
the documentation fails.
The text was updated successfully, but these errors were encountered: