invoke_kind

WIN32OLE_METHOD#invoke_kind
Instance Public methods

Returns the method kind string. The string is âUNKNOWNâ or âPROPERTYâ or âPROPERTYâ or âPROPERTYGETâ or âPROPERTYPUTâ or âPROPERTYPPUTREFâ or âFUNCâ.

tobj = WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'Workbooks')
method = WIN32OLE_METHOD.new(tobj, 'Add')
puts method.invoke_kind # => "FUNC"
doc_ruby_on_rails
2015-06-12 23:30:10
Comments
Leave a Comment

Please login to continue.