Win32ole enum

Hi Rubyists,

If someone could help me with this I’d be very grateful…

I’m trying to use WIN32OLE to call a method that takes an enum called
EUserDefinedTree. I want to set it to kAbsoluteFilePath. I have a handle
to the method and ole_type_detail reports the param as type USERDEFINED.

Trouble is I have no idea how to pass in kAbsoluteFilePath as the value.

Can anyone point me in the right direction? I’ve already had a good
google but nothing turned up.