Method: COM::Object#initialize

Defined in:
lib/com/object.rb

#initialize(com) ⇒ Object

Creates a new instance based on com. It is important that subclasses call super if they override this method.

Parameters:

  • com (WIN32OLE)

    A WIN32OLE Com object



8
9
10
# File 'lib/com/object.rb', line 8

def initialize(com)
  self.com = com
end