new

WIN32OLE_TYPE.new(typelib, ole_class) â WIN32OLE_TYPE object
Class Public methods

Returns a new WIN32OLE_TYPE object. The first argument typelib specifies OLE type library name. The second argument specifies OLE class name.

WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'Application')
    # => WIN32OLE_TYPE object of Application class of Excel.
doc_ruby_on_rails
2015-06-13 01:42:15
Comments
Leave a Comment

Please login to continue.