Class: WIN32OLE::Property
- Inherits:
-
Object
- Object
- WIN32OLE::Property
- Defined in:
- lib/win32ole/property.rb
Overview
OLEProperty is a helper class of Property with arguments, used by olegen.rb
-generated files.
Instance Method Summary collapse
- #[](*args) ⇒ Object
- #[]=(*args) ⇒ Object
-
#initialize(obj, dispid, gettypes, settypes) ⇒ Property
constructor
:stopdoc:.
Constructor Details
#initialize(obj, dispid, gettypes, settypes) ⇒ Property
:stopdoc:
10 11 12 13 14 15 |
# File '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) ⇒ Object
16 17 18 |
# File 'lib/win32ole/property.rb', line 16 def [](*args) @obj._getproperty(@dispid, args, @gettypes) end |
#[]=(*args) ⇒ Object
19 20 21 |
# File 'lib/win32ole/property.rb', line 19 def []=(*args) @obj._setproperty(@dispid, args, @settypes) end |