I’ve been doing some Ruby code interfacing with Windows COM objects and
I’ve ran into this problem:
I have a COM object method say object.Value(name) which - when i call it
with appropriate “name” value returns some value.
The problem is that the same is used (according to that COM lib
documentation) for setting data to the object - i should write
object.Value(name) = value and it should set the value.
However I have not found a way to do this in Ruby - it gives me (and I
can fully understand why) syntax error when I try to set data to the
Does anybody know if this can be done using Ruby and possibly how?