rlane/rbvmomi — comment on commit ef02dc80d735af5d61554b23c4ce24d6e7a691f4
File: lib/rbvmomi/vim/Folder.rb line 41
By jeffmccune:

On Wed, Nov 9, 2011 at 7:00 PM, Rich Lane

wrote:
> You're right, the case equality operator (===) doesn't do what I
> expected. I think replacing RbVmomi::VIM::ManagedEntity with Class will
> work. Apparently whenever I've used this function I've just passed the
> class name as a string.
>
> I pushed a branch folder-env-fix to rlane/rbvmomi, but I don't have a
> vSphere at home to test with. I'll merge it in tomorrow.

Thanks, no huge rush. I've just been studying the code trying to
reduce the number of API calls we're making in Puppet's Cloud
Provisioner vmware provider.

I worked around this issue just passing in a symbol, :VirtualMachine I think.

Thanks for the quick response, I think RbVmomi is great.

--
Jeff McCune