[Win32utils-devel] win32ole properties question

Heesob Park phasis at gmail.com
Sat Jan 18 02:38:50 UTC 2014


Hi,

2014/1/18 Daniel Berger <djberg96 at gmail.com>:
> Hi all,
>
> I'm trying to duplicate some code here in the ole branch of
> win32-changejournal:
>
> http://www.codeproject.com/Articles/42212/WMI-and-File-System-Monitoring
>
> I'm basically having trouble duplicating this bit:
>
> objPrevInst.Properties_(objProperty.Name)
>
> How do I do that with Ruby?
>
That would be translated as
objPrevInst.send(objProperty.Name)

Regards,
Park Heesob


More information about the win32utils-devel mailing list