jruby-win32ole icon indicating copy to clipboard operation
jruby-win32ole copied to clipboard

ole_type

Open Thomas008 opened this issue 5 years ago • 1 comments

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.

Thomas008 avatar May 26 '19 16:05 Thomas008

I have published this issue in the jruby github already, since I did not know where the best place might be (issue 5756).

Thomas008 avatar May 31 '19 15:05 Thomas008