Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • win32ole/lib/win32ole/property.rb

Parent

Methods

OLEProperty

OLEProperty helper class of Property with arguments.

Public Class Methods

new(obj, dispid, gettypes, settypes) click to toggle source
 
               # File win32ole/lib/win32ole/property.rb, line 4
def initialize(obj, dispid, gettypes, settypes)
  @obj = obj
  @dispid = dispid
  @gettypes = gettypes
  @settypes = settypes
end
            

Public Instance Methods

[](*args) click to toggle source
 
               # File win32ole/lib/win32ole/property.rb, line 10
def [](*args)
  @obj._getproperty(@dispid, args, @gettypes)
end
            
[]=(*args) click to toggle source
 
               # File win32ole/lib/win32ole/property.rb, line 13
def []=(*args)
  @obj._setproperty(@dispid, args, @settypes)
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.