method

new

ruby latest stable - Class: Msxml

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_2_180) is shown here.

new(obj = nil)
public

No documentation available.

# File ext/win32ole/sample/xml.rb, line 7206
  def initialize(obj = nil)
    @clsid = "{CFC399AF-D876-11D0-9C10-00C04FC99C8E}"
    @progid = "Msxml"
    if obj.nil?
      @dispatch = WIN32OLE.new(@progid)
    else
      @dispatch = obj
    end
  end