123456789_123456789_123456789_123456789_123456789_

Class: WIN32OLE::Property

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: ext/win32ole/lib/win32ole/property.rb

Overview

OLEProperty is a helper class of Property with arguments, used by ‘olegen.rb`-generated files.

Class Method Summary

Instance Method Summary

Constructor Details

.new(obj, dispid, gettypes, settypes) ⇒ Property

[ GitHub ]

  
# File 'ext/win32ole/lib/win32ole/property.rb', line 10

def initialize(obj, dispid, gettypes, settypes)
  @obj = obj
  @dispid = dispid
  @gettypes = gettypes
  @settypes = settypes
end

Instance Method Details

#[](*args)

[ GitHub ]

  
# File 'ext/win32ole/lib/win32ole/property.rb', line 16

def [](*args)
  @obj._getproperty(@dispid, args, @gettypes)
end

#[]=(*args)

[ GitHub ]

  
# File 'ext/win32ole/lib/win32ole/property.rb', line 19

def []=(*args)
  @obj._setproperty(@dispid, args, @settypes)
end