On Jun 6, 2009, at 8:08 AM, joel r wrote:

>>
>> Here you can do 'user.Groups.collect { |group| group.name }' (and
>> again in similar code below).  No temporary variable necessary.
>>
>
> Trouble here is that the user method returns and win32ole object.
> Groups is a win32ole collection. The win32ole provider does not seem
> to support collect at this point.


Interesting; ok.  Might be worth noting that as a comment, I guess.

-- 
It is curious that physical courage should be so common in the world and
moral courage so rare. -- Mark Twain
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to