[Win32utils-devel] win32ole properties question

Daniel Berger djberg96 at gmail.com
Sat Jan 18 03:11:47 UTC 2014


On Fri, Jan 17, 2014 at 7:38 PM, Heesob Park <phasis at gmail.com> wrote:

> 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)
>

Silly me. I thought I tried that and it didn't work.

Thanks,

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/win32utils-devel/attachments/20140117/7f072f7d/attachment.html>


More information about the win32utils-devel mailing list