_invoke

WIN32OLE#_invoke(dispid, args, types)
Instance Public methods

Runs the early binding method. The 1st argument specifies dispatch ID, the 2nd argument specifies the array of arguments, the 3rd argument specifies the array of the type of arguments.

excel = WIN32OLE.new('Excel.Application')
excel._invoke(302, [], []) #  same effect as excel.Quit
doc_ruby_on_rails
2015-06-12 20:49:40
Comments
Leave a Comment

Please login to continue.