Sha256: f813caf6fa876c0f9bf4beab83dea1a5e717eb1ccae2c73ea9262c9757d498a5

Contents?: true

Size: 393 Bytes

Versions: 4

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: false
# OLEProperty
# helper class of Property with arguments.
class OLEProperty
  def initialize(obj, dispid, gettypes, settypes)
    @obj = obj
    @dispid = dispid
    @gettypes = gettypes
    @settypes = settypes
  end
  def [](*args)
    @obj._getproperty(@dispid, args, @gettypes)
  end
  def []=(*args)
    @obj._setproperty(@dispid, args, @settypes)
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
win32ole-1.8.10 lib/win32ole/property.rb
win32ole-1.8.9 lib/win32ole/property.rb
win32ole-1.8.8 lib/win32ole/property.rb
ruby-compiler-0.1.1 vendor/ruby/ext/win32ole/lib/win32ole/property.rb