Class: OLEProperty
Relationships & Source Files | |
Inherits: | Object |
Defined in: | ext/win32ole/lib/win32ole/property.rb |
Overview
helper class of Property with arguments.
Class Method Summary
Instance Method Summary
Constructor Details
.new(obj, dispid, gettypes, settypes) ⇒ OLEProperty
# File 'ext/win32ole/lib/win32ole/property.rb', line 4
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 10
def [](*args) @obj._getproperty(@dispid, args, @gettypes) end
#[]=(*args)
[ GitHub ]# File 'ext/win32ole/lib/win32ole/property.rb', line 13
def []=(*args) @obj._setproperty(@dispid, args, @settypes) end