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